Bug#851324: python-debian: migrate to standard ‘unittest’ for test suite discovery

2017-09-09 Thread Stuart Prescott
Control: tags -1 - patch

> 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.

More relevant, I think, is that the nose module is essentially unmaintained 
and so it is wortwhile migrating to something that has a future.

> My proposed implementation for this is at
>  aintenance/unittest>, the ‘wip/maintenance/unittest’ branch.

As already noted on the mailing list, these changes completely break the test 
suite at build time and are additionally buggy in their invocation of the 
autopkgtests (hence removing the "patch" tag). Something similar in nature 
that is tested and works would be quite welcome.

regards
Stuart

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7



Bug#851324: python-debian: migrate to standard ‘unittest’ for test suite discovery

2017-01-13 Thread Ben Finney
Package: python-debian
Version: 0.1.29
Severity: minor
Control: tags -1 + patch

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.

My proposed implementation for this is at
,
the ‘wip/maintenance/unittest’ branch.

-- 
 \ “I wish I had a dollar for every time I spent a dollar, because |
  `\   then, yahoo!, I'd have all my money back.” —Jack Handey |
_o__)  |
Ben Finney 


signature.asc
Description: PGP signature