TestFixtures 2.0.0 Released!

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top