C
Chris Withers
Hi All,
I'm happy to announce a new release major release of TestFixtures.
This release is 99% backwards compatible, but a lot has changed under
the hood and there's some major new functionality, so thought it was
time for a bump.
The big changes are:
- compare now uses a registry of comparers in the same way that
unitest2's assertEquals does. You can register your own globally,
register the default comparers for your own types and use a specific
registry for a specific call to compare.
- The handling of timezones has been reworked in `test_datetime` again.
(did anyone ever mention that timezones are hard ;-) )
It feels more intuitive now, but it is backwards incompatible in
the case where the `tzinfo` parameter to the `test_datetime`
constructor was used.
For details, read:
http://packages.python.org/testfixtures/datetime.html#timezones
The full list of changes can be found here:
http://packages.python.org/testfixtures/changes.html
The package is on PyPI and a full list of all the links to docs, issue
trackers and the like can be found here:
http://www.simplistix.co.uk/software/python/testfixtures
cheers,
Chris
I'm happy to announce a new release major release of TestFixtures.
This release is 99% backwards compatible, but a lot has changed under
the hood and there's some major new functionality, so thought it was
time for a bump.
The big changes are:
- compare now uses a registry of comparers in the same way that
unitest2's assertEquals does. You can register your own globally,
register the default comparers for your own types and use a specific
registry for a specific call to compare.
- The handling of timezones has been reworked in `test_datetime` again.
(did anyone ever mention that timezones are hard ;-) )
It feels more intuitive now, but it is backwards incompatible in
the case where the `tzinfo` parameter to the `test_datetime`
constructor was used.
For details, read:
http://packages.python.org/testfixtures/datetime.html#timezones
The full list of changes can be found here:
http://packages.python.org/testfixtures/changes.html
The package is on PyPI and a full list of all the links to docs, issue
trackers and the like can be found here:
http://www.simplistix.co.uk/software/python/testfixtures
cheers,
Chris