Implement new IDE and static-analysis ways of :doc:mocking <mocking> including additional
parameters to :meth:~Replacer.replace along with the :any:replace_on_class,
:any:replace_in_module and :any:replace_in_environ context managers.
7.0.4 (5 Dec 2022)
Remove py.typed file: neither mypy nor testfixtures are ready for
this file to be present.
7.0.3 (3 Nov 2022)
Further bugfixes around self-referential datastructures and :func:compare.
7.0.2 (1 Nov 2022)
Reinstate support for self-referential data structures in :func:compare.
The new implementation provides more clarity about what's going on and also ignores more
immutable data types.
7.0.1 (1 Nov 2022)
Remove non-functional support for self-referential data structures in :func:compare.
The functionality didn't work but did cause erroneous reported equality of values in dictionaries
that were actually not equal.
7.0.0 (6 Jul 2022)
Refresh documentation.
Add type annotations.
Drop support for Python 2. The minimum supported Python version is now 3.6.
Sybil 3 is now the minimum supported version if you use :class:~.sybil.FileParser.
Rename and refactor the date and time mocks, they are now :any:mock_date, :any:mock_datetime
and :any:mock_time.
:any:test_date<mock_date>, :any:test_datetime <mock_datetime> and :any:test_time <mock_time> are still present as aliases but
are now deprecated.
Add :meth:TempDirectory.as_string, :meth:TempDirectory.as_path and
:meth:TempDirectory.as_local. :meth:TempDirectory.getpath is now deprecated.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps testfixtures from 4.7.0 to 7.1.0.
Changelog
Sourced from testfixtures's changelog.
... (truncated)
Commits
3f5500a
Prepare for 7.1.0 release.abab1ff
Documentation for new replacement methods and context managersda0bf2e
Turn on Sphinx's nitpicky and fix resulting issues.bac8fa4
Move descriptor handling in replace to fix bugs and simplify resolve()0c480e5
Static-analysis friendly ways to replace callables in modulesf49ecd0
Static-analysis friendly ways to replace methods on classese964516
Easier ways to replace environment variablesbf6c5f9
Remove some ancient backwards compatibility that was causing test noised05ff51
Full and explicit replacement APIf975257
Refactor Replace internals.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)