On 8 October 2015 at 11:47, Ben Finney <ben+deb...@benfinney.id.au> wrote: > Brian May <br...@microcomaustralia.com.au> writes: > >> I see that there is a python3-unittest2 package - should I be using that >> one or the unittest built in Python 3.5? > > If you have a code base that is intended to run unchanged on Python 2 > and Python 3, and that code base imports ‘unittest2’, you need both the > Python 2 and Python 3 version of that package. > > If your code base targets only Python 3, it should not be using > ‘unittest2’ at all.
Thats false. unittest2 is a rolling backport. A true statement would be 'if your codebase will only ever run on the latest release of Python then unittest2 offers no value' for it. -Rob -- Robert Collins <rbtcoll...@hp.com> Distinguished Technologist HP Converged Cloud