testtools 0.9.11

This release brings consistent use of super for better compatibility with
multiple inheritance, fixed Python3 support, improvements in fixture and mather
outputs and a compat helper for testing libraries that deal with bytestrings.

Milestone information

Project:
testtools
Series:
0.9
Version:
0.9.11
Released:
 
Registrant:
Robert Collins
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
2 Gavin Panella, 1 Tim Cole
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
3 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon testtools-0.9.11.tar.gz (md5, sig) Source tarball. 2,495
last downloaded 18 weeks ago
Total downloads: 2,495

Release notes 

This release brings consistent use of super for better compatibility with
multiple inheritance, fixed Python3 support, improvements in fixture and mather
outputs and a compat helper for testing libraries that deal with bytestrings.

Changelog 

View the full changelog

Changes
~~~~~~~

* ``TestCase`` now uses super to call base ``unittest.TestCase`` constructor,
  ``setUp`` and ``tearDown``. (Tim Cole, #771508)

* If, when calling ``useFixture`` an error occurs during fixture set up, we
  still attempt to gather details from the fixture. (Gavin Panella)

Improvements
~~~~~~~~~~~~

* Additional compat helper for ``BytesIO`` for libraries that build on
  testtools and are working on Python 3 porting. (Robert Collins)

* Corrected documentation for ``MatchesStructure`` in the test authors
  document. (Jonathan Lange)

* ``LessThan`` error message now says something that is logically correct.
  (Gavin Panella, #762008)

* Multiple details from a single fixture are now kept separate, rather than
  being mooshed together. (Gavin Panella, #788182)

* Python 3 support now back in action. (Martin [gz], #688729)

* ``try_import`` and ``try_imports`` have a callback that is called whenever
  they fail to import a module. (Martin Pool)

0 blueprints and 3 bugs targeted

Bug report Importance Assignee Status
762008 #762008 LessThan assertion error is inaccurate 2 Critical Gavin Panella  10 Fix Released
788182 #788182 Multiple details from a single fixture are being smushed 2 Critical Gavin Panella  10 Fix Released
771508 #771508 testtools should use super() when calling setUp/tearDown 5 Low Tim Cole  10 Fix Released
This milestone contains Public information
Everyone can see this information.