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.
:func:test_date, :func:test_datetime and :func:test_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.
:class:TempDirectory can now be used to wrap existing directories.
Fixed a bug where :any:OutputCapture.captured returned bytes instead of a string with
fd=True.
The deprecated strict option to :class:Comparison has been removed, use the partial
option instead.
The deprecated :meth:TempDirectory.check, :meth:TempDirectory.check_dir
and :meth:TempDirectory.check_all methods have been removed.
6.18.5 (1 Mar 2022)
Fix bug in detection of Mock backport.
6.18.4 (25 Feb 2022)
Ensure compatibility with Sybil 2 and Sybil 3 along with pytest 6 and pytest 7.
6.18.3 (29 Sep 2021)
Fix bug when using :func:compare on two regular expressions that have very long patterns.
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.0.0.
Changelog
Sourced from testfixtures's changelog.
... (truncated)
Commits
97622bf
Prepare for 7.0.0 release.a5cfbf6
Add type annotations.c7a29d2
Remove unused parameter2685edf
Include call in docs.2567aa6
Fix bug here OutputCapture.captured returned bytes instead of a string when f...158b52c
Add as_path and as_local helpers.8dc39cf
Support for TempDirectory to wrap existing directories.829bc76
Rename getpath to as_string.340e64c
Move mock_(date|time) API documentation to where the code is.2574fe3
Rename test_(date|time) to mock_(date|time).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)