Drop use of unittest2
unittest2 was needed for compatibility with python <= 2.6, so we have not needed this for quite some time now. See unittest2 note on: https://docs.python.org/2.7/library/unittest.html This drops the use of unittest2 in favor of the standard unittest package. Change-Id: I46ec317f0ee43ff95d8af1aa68b8d0596dc4dd35 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
7f6c72d97b
commit
f8b81c71f9
|
@ -26,4 +26,3 @@ testrepository==0.0.18
|
||||||
testresources==2.0.0
|
testresources==2.0.0
|
||||||
testtools==2.2.0
|
testtools==2.2.0
|
||||||
traceback2==1.4.0
|
traceback2==1.4.0
|
||||||
unittest2==1.1.0
|
|
||||||
|
|
6
tests.py
6
tests.py
|
@ -14,11 +14,7 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
# py26 compat
|
import unittest
|
||||||
try:
|
|
||||||
import unittest2 as unittest
|
|
||||||
except ImportError:
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
import pymod2pkg
|
import pymod2pkg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue