pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-testtools



Module Name:    pkgsrc
Committed By:   obache
Date:           Sat Dec 13 08:43:37 UTC 2014

Modified Files:
        pkgsrc/devel/py-testtools: Makefile distinfo

Log Message:
Update py-testtools to 1.5.0.

1.5.0
~~~~~

Improvements
------------

* 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)

1.4.0
~~~~~

Changes
-------

* ``testtools.TestCase`` now inherits from unittest2.TestCase, which
  provides a ``setUpClass`` for upcalls on Python 2.6.
  (Robert Collins, #1393283)

1.3.0
~~~~~

Changes
-------

* 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)

1.2.1
~~~~~

Changes
-------

* Correctly express our unittest2 dependency: we don't work with old releases.
  (Robert Collins)

1.2.0
~~~~~

Changes
-------

* 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)

* We now publish wheels of testtools. (Robert Collins, #issue84)

1.1.0
~~~~~

Improvements
------------

* Exceptions in a ``fixture.getDetails`` method will no longer mask errors
  raised from the same fixture's ``setUp`` method.
  (Robert Collins, #1368440)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-testtools/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-testtools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index