forked from pool/python-testtools
- Update to 0.9.14:
* Our sister project, `subunit <https://launchpad.net/subunit>`_, was using a private API that was deleted in the 0.9.13 release. This release restores that API in order to smooth out the upgrade path. If you don't use subunit, then this release won't matter very much to you. - 0.9.13 - Changes * ``MatchesAll`` now takes an ``first_only`` keyword argument that changes how mismatches are displayed. If you were previously passing matchers to ``MatchesAll`` with keyword arguments, then this change might affect your test results. (Jonathan Lange) - Improvements * Actually hide all of the testtools stack for assertion failures. The previous release promised clean stack, but now we actually provide it. (Jonathan Lange, #854769) * ``assertRaises`` now includes the ``repr`` of the callable that failed to raise properly. (Jonathan Lange, #881052) * Asynchronous tests no longer hang when run with trial. (Jonathan Lange, #926189) * ``Content`` objects now have an ``as_text`` method to convert their contents to Unicode text. (Jonathan Lange) * Failed equality assertions now line up. (Jonathan Lange, #879339) * ``FullStackRunTest`` no longer aborts the test run if a test raises an error. (Jonathan Lange) * ``MatchesAll`` and ``MatchesListwise`` both take a ``first_only`` keyword argument. If True, they will report only on the first mismatch they find, and not continue looking for other possible mismatches. (Jonathan Lange) * New helper, ``Nullary`` that turns callables with arguments into ones that don't take arguments. (Jonathan Lange) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=3
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
%define mod_name testtools
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.9.12
|
||||
Version: 0.9.14
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Extensions to the Python Standard Library Unit Testing Framework
|
||||
@@ -45,6 +45,7 @@ also ports recent unittest changes all the way back to Python 2.4.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
find -type f -name "*~" | xargs rm -f
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
Reference in New Issue
Block a user