[PATCH 0/6] Migrate from ‘nose’ to standard-library ‘unittest’.

Ben Finney bignose at debian.org
Sun Jan 15 01:15:09 UTC 2017


Migrate from ‘nose’ to standard-library ‘unittest’.

The test suite does not appear to use any ‘nose’ features that are not
already in the standard library ‘unittest’ module as of Python 2.7.
The dependency on ‘nose’ is evidently only to do automatic test suite
discovery.

The dependency on ‘nose’ can be removed, by migrating to use the
standard ‘unittest’ test suite discovery.

These patches are from my forked repository at
<URL:https://git.fosscommunity.in/bignose/debian_python-debian/commits/wip/maintenance/unittest>,
the ‘wip/maintenance/unittest’ branch.


Ben Finney (6):
  Make the test suite directory a Python package.
  Update copyright notices.
  Correct indentation to PEP-8 recommendation.
  Teach the Setuptools script how to find and run the test suite.
  Use the Setuptools script for Debian build-time test.
  Use the Setuptools script for DEP-8 autopkg tests.

 debian/changelog            | 12 ++++++++++++
 debian/control              |  2 --
 debian/rules                | 10 +++++-----
 debian/tests/control        |  2 --
 debian/tests/python-debian  |  8 ++++----
 debian/tests/python3-debian |  8 ++++----
 setup.py.in                 | 41 +++++++++++++++++++++++++++++------------
 tests/__init__.py           |  0
 8 files changed, 54 insertions(+), 29 deletions(-)
 create mode 100644 tests/__init__.py

-- 
2.11.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20170115/fe8ddf9d/attachment.sig>


More information about the pkg-python-debian-maint mailing list