forked from pool/python-testtools
Accepting request 263648 from home:rhafer:branches:devel:languages:python
Update to 1.5.0 OBS-URL: https://build.opensuse.org/request/show/263648 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=34
This commit is contained in:
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 1 17:04:18 UTC 2014 - rhafer@suse.com
|
||||
|
||||
- Update to version 1.5.0:
|
||||
* When an import error happens ``testtools.run`` will now show the full
|
||||
error rather than just the name of the module that failed to import.
|
||||
(Robert Collins)
|
||||
* ``testtools.TestCase`` now inherits from unittest2.TestCase, which
|
||||
provides a ``setUpClass`` for upcalls on Python 2.6.
|
||||
(Robert Collins, #1393283)
|
||||
* Fixed our setup.py to use setup_requires to ensure the import dependencies
|
||||
for testtools are present before setup.py runs (as setup.py imports testtools
|
||||
to read out the version number). (Robert Collins)
|
||||
* Support setUpClass skipping with self.skipException. Previously this worked
|
||||
with unittest from 2.7 and above but was not supported by testtools - it was
|
||||
a happy accident. Since we now hard depend on unittest2, we need to invert
|
||||
our exception lookup priorities to support it. Regular skips done through
|
||||
raise self.skipException will continue to work, since they were always caught
|
||||
in our code - its because the suite type being used to implement setUpClass
|
||||
has changed that an issue occured.
|
||||
(Robert Collins, #1393068)
|
||||
* Correctly express our unittest2 dependency: we don't work with old releases.
|
||||
(Robert Collins)
|
||||
* Depends on unittest2 for discovery functionality and the ``TestProgram`` base
|
||||
class. This brings in many fixes made to discovery where previously we were
|
||||
only using the discovery package or the version in the release of Python
|
||||
that the test execution was occuring on. (Robert Collins, #1271133)
|
||||
* Fixed unit tests which were failing under pypy due to a change in the way
|
||||
pypy formats tracebacks. (Thomi Richards)
|
||||
* Fixed the testtools test suite to run correctly when run via ``unit2``
|
||||
or ``testtools.run discover``.
|
||||
* Make `testtools.content.text_content` error if anything other than text
|
||||
is given as content. (Thomi Richards)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 16 06:17:46 UTC 2014 - tbechtold@suse.com
|
||||
|
||||
|
Reference in New Issue
Block a user