[openstack-dev] Please use 'unittest2', not 'unittest' everywhere.
robertc at robertcollins.net
Wed Apr 8 23:26:28 UTC 2015
Noticed this when Maru Newby asked me about the non-failing import
errors in Neutron - which lead eventually to
Neutron was using 'unittest', but we depend on the fixes in cPython
3.5, which are backported in unittest2. We should not use 'unittest'
itself anywhere in OpenStack, only 'unittest2'.
testtools has a hard dependency on unittest2 these days (as we port
features from it into cPython's unittest, they come back as backports
in unittest2), so there's no dependency-chain reason to avoid using
Robert Collins <rbtcollins at hp.com>
HP Converged Cloud
More information about the OpenStack-dev