testfixtures 6.0.2 released - important bug fix!
Chris Withers
chris at withers.org
Wed May 2 03:13:39 EDT 2018
Hi All,
I'm afraid I've found quite a serious regression in the 6.x series of
testfixtures releases:
Objects that had neither __dict__ nor __slots__ would always be
considered equal by compare().
I hit this comparing datetimes, but this would also affect types
provides by extensions in other languages such as C or C++.
This did not affect built-in types such as dict, set, tuple and list as
they have specific comparers provided that were not affects.
I've released 6.0.2 to fix this and would urge anyone using 6.0.0 or
6.0.1 to upgrade as soon as possible.
The package is on PyPI and a full list of all the links to docs, issue
trackers and the like can be found here:
https://github.com/Simplistix/testfixtures
Any questions, please do ask on the Testing in Python list or on the
Simplistix open source mailing list...
cheers,
Chris
More information about the Python-list
mailing list