[Biopython-dev] Using unittest2 backport for tests under Python 2.7

Peter Cock p.j.a.cock at googlemail.com
Wed Oct 12 15:12:43 UTC 2016

Hello all,

As per this pull request I would like to use the unittest2
backport on a case-by-case basis when running Biopython
unit tests on Python 2.7:


i.e. Some tests will be skipped on Python 2.7 unless
unittest2 is installed.

We did this for a while under Python 2.6 for other things
added to the unittest library in Python 2.7 onwards. Here
the motivation is assertWarns added in Python 3.2:


Assuming no objections by Friday, I'll apply this pull request,



More information about the Biopython-dev mailing list