Update dependency testfixtures to v8 #2585
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.2.2
->^8.3.0
Release Notes
Simplistix/testfixtures (testfixtures)
v8.3.0
Compare Source
:class:
ShouldRaise
now supports :class:ExceptionGroup
.Fixed bug where :func:
~testfixtures.comparison.compare_generator
did not respectstrict=True
.Fixed bug in the type annotations for :class:
ShouldRaise
and:func:
~testfixtures.comparison.compare_exception
.:class:
LogCapture
will now raise an exception if closed while still installed.This can be a source of particularly confusing bugs.
v8.2.0
Compare Source
The
strict
option is now correctly respected when :doc:comparing <comparing>
nested objects.When comparing :class:
~datetime.datetime
or :class:~datetime.time
instances, if the foldis the only thing that's different, it's now shown in the output.
A more detailed exception is now raised when resolving a :doc:
replacement <mocking>
doesn't givewhat's expected.
:doc:
Replacement <mocking>
of methods on instances is now prevented whenstrict=True
.An exception is now raised when :doc:
mocking <mocking>
and the original is not in the__dict__
of its containing objects.v8.1.0
Compare Source
Fix bug where replacement of methods on subclasses failed when using :meth:
Replacer.on_class
.Implement :ref:
strict comparison <compare-datetime>
as an option for :class:~datetime.datetime
and :class:
~datetime.time
.v8.0.0
Compare Source
Retire
zope.component
helpers.Support :class:
bytes
in :class:popen.MockPopen
commands.Allow :class:
TempDirectory
instances to be traversed as :class:~pathlib.Path
objects.Use the system default encoding where possible in :class:
TempDirectory
.Add :class:
TempDirectory
option to manage current working directory.Allow string class attributes to be replaced with :class:
Replacer
and friends.Fix nasty bug meaning some :meth:
~Replacer.on_class
and :meth:~Replacer.in_module
replacements weren't restored.
Allow an alternative separator to be used for traversal during replacement with
:class:
Replacer
and friends.Officially support Python 3.12.
Drop support Python 3.6.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.