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

Attachment: signature.asc
Description: PGP signature

-- 
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-python-debian-maint

Reply via email to