diff options
| author | Matthew Treinish <mtreinish@kortar.org> | 2021-07-14 09:56:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-14 09:56:54 -0400 |
| commit | 14212857cfcbbf5b461d7d6a1ac7b93c8992199a (patch) | |
| tree | c65631f78bfb073c83ac12d5a878df44081fdc76 | |
| parent | 254998e2e88835eaa634d9729dddcc3d4b5bc32f (diff) | |
| parent | f6cc2253dcd539599bed4595ece74049ad732077 (diff) | |
| download | testtools-14212857cfcbbf5b461d7d6a1ac7b93c8992199a.tar.gz | |
Merge branch 'master' into fix-python310
| -rw-r--r-- | NEWS | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -12,6 +12,8 @@ Improvements * Add support for Python 3.9. (Hugo van Kemenade) +* Python 3.5 has reached end-of-life and this is the last release to support it. + * The skip, skipIf, and skipUnless decorators can now be used as class decorators as well as test method decorators, just as they can in unittest. @@ -580,7 +582,7 @@ experimental and we might need to break it if it turns out to be unsuitable. Improvements ------------ -* ``assertRaises`` works properly for exception classes that have custom +* ``assertRaises`` works properly for exception classes that have custom metaclasses * ``ConcurrentTestSuite`` was silently eating exceptions that propagate from @@ -767,14 +769,14 @@ Improvements Changes ------- -* ``testtools.run discover`` will now sort the tests it discovered. This is a +* ``testtools.run discover`` will now sort the tests it discovered. This is a workaround for http://bugs.python.org/issue16709. Non-standard test suites are preserved, and their ``sort_tests()`` method called (if they have such an attribute). ``testtools.testsuite.sorted_tests(suite, True)`` can be used by such suites to do a local sort. (Robert Collins, #1091512) * ``ThreadsafeForwardingResult`` now defines a stub ``progress`` method, which - fixes ``testr run`` of streams containing progress markers (by discarding the + fixes ``testr run`` of streams containing progress markers (by discarding the progress data). (Robert Collins, #1019165) 0.9.23 @@ -1594,7 +1596,7 @@ Improvements systems where os.sep is not '/'. * When a cleanUp or tearDown exception occurs, it is now accumulated as a new - traceback in the test details, rather than as a separate call to addError / + traceback in the test details, rather than as a separate call to addError / addException. This makes testtools work better with most TestResult objects and fixes bug #335816. |
