unittest/unittest2 compatibilty wrapper.
Anything internal to nose2 must import unittest from here, to be sure that it is using unittest2 when on older pythons.
Yes:
from nose2.compat import unittest
NO:
import unittest
import unittest2
nose2.main
nose2.exceptions
Enter search terms or a module, class or function name.