forked from pool/python-testfixtures
- Update to 8.2.0:
* The strict option is now correctly respected when comparing nested objects. * When comparing datetime.datetime or datetime.time instances, if the fold is the only thing that's different, it's now shown in the output. * A more detailed exception is now raised when resolving a replacement doesn't give what's expected. * Replacement of methods on instances is now prevented when strict=True. * An exception is now raised when mocking and the original is not in the __dict__ of its containing objects. * Fix bug where replacement of methods on subclasses failed when using Replacer.on_class. * Implement strict comparison as an option for datetime.datetime and datetime.time. * Retire zope.component helpers. * Support bytes in popen.MockPopen commands. * Allow TempDirectory instances to be traversed as pathlib.Path objects. * Use the system default encoding where possible in TempDirectory. * Add TempDirectory option to manage current working directory. * Allow string class attributes to be replaced with Replacer and friends. * Fix nasty bug meaning some Replacer.on_class and Replacer.in_module replacements weren't restored. * Allow an alternative separator to be used for traversal during replacement with Replacer and friends. * Officially support Python 3.12. * Drop support Python 3.6. - Add multibuild to break a cycle. - Drop patch path-comparsion-312.patch, included upstream. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=55
This commit is contained in:
@@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 06:08:53 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 8.2.0:
|
||||
* The strict option is now correctly respected when comparing nested
|
||||
objects.
|
||||
* When comparing datetime.datetime or datetime.time instances, if the fold
|
||||
is the only thing that's different, it's now shown in the output.
|
||||
* A more detailed exception is now raised when resolving a replacement
|
||||
doesn't give what's expected.
|
||||
* Replacement of methods on instances is now prevented when strict=True.
|
||||
* An exception is now raised when mocking and the original is not in the
|
||||
__dict__ of its containing objects.
|
||||
* Fix bug where replacement of methods on subclasses failed when using
|
||||
Replacer.on_class.
|
||||
* Implement strict comparison as an option for datetime.datetime
|
||||
and datetime.time.
|
||||
* Retire zope.component helpers.
|
||||
* Support bytes in popen.MockPopen commands.
|
||||
* Allow TempDirectory instances to be traversed as pathlib.Path objects.
|
||||
* Use the system default encoding where possible in TempDirectory.
|
||||
* Add TempDirectory option to manage current working directory.
|
||||
* Allow string class attributes to be replaced with Replacer and friends.
|
||||
* Fix nasty bug meaning some Replacer.on_class and Replacer.in_module
|
||||
replacements weren't restored.
|
||||
* Allow an alternative separator to be used for traversal during replacement
|
||||
with Replacer and friends.
|
||||
* Officially support Python 3.12.
|
||||
* Drop support Python 3.6.
|
||||
- Add multibuild to break a cycle.
|
||||
- Drop patch path-comparsion-312.patch, included upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 15:07:33 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
Reference in New Issue
Block a user