c6957cea9a
CHANGELOG 2014/11/05 - 0.8 * Issue #22457: Honour load_tests in the start_dir of discovery. 2014/10/31 - 0.7.1 Fix for 0.7.0 being broken. Also switches from both manual and entrypoint scripts to just entrypoint scripts to reduce the possibility of similar oversights in future. 2014/10/31 - 0.7.0 This release contains backports from cPython 3.5 of all (I think) commits since 2010, as of today. 2014/10/28 - 0.6.0 Many thanks to Mark Roddy and Ezio Melotti who contributed substantially to this release. * Changed supported Python versions to start at 2.6, and include all released 3.x and pypy. (Robert Collins) * Invoking unit2 without args starts test discovery * Added TestCase.assertWarns and TestCase.assertWarnsRegexp context managers * Fix Python issue 9926. TestSuite subclasses that override __call__ are called correctly. * Removed unused maxDiff parameter from TestCase.assertSequenceEqual. * DeprecationWarning for unsupported result objects (missing addSkip method) became RuntimeWarning. * Addition of TestCase.assertWarns as a context manager.
6 lines
275 B
Text
6 lines
275 B
Text
Unittest2 is a backport of the new features added to the unittest testing
|
|
framework in Python 2.7 and onwards. It is tested to run on Python 2.6, 2.7,
|
|
3.2, 3.3, 3.4 and pypy.
|
|
|
|
To use unittest2 instead of unittest simply replace ''import unittest'' with
|
|
''import unittest2''.
|