diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-05-05 08:49:01 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-05-05 08:49:01 -0400 |
commit | 97e71354ab82ca573df2dd90c60c510aab6b663d (patch) | |
tree | ea91344f1567e48f786bc347f78c5bb0323fa16b /coverage/backunittest.py | |
parent | 0ad9ce7affb80fc7716d5de8df38b246282ea55c (diff) | |
download | python-coveragepy-97e71354ab82ca573df2dd90c60c510aab6b663d.tar.gz |
No more support for 2.6 or 3.3
Diffstat (limited to 'coverage/backunittest.py')
-rw-r--r-- | coverage/backunittest.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/coverage/backunittest.py b/coverage/backunittest.py index 09574cc..1b08483 100644 --- a/coverage/backunittest.py +++ b/coverage/backunittest.py @@ -3,12 +3,7 @@ """Implementations of unittest features from the future.""" -# Use unittest2 if it's available, otherwise unittest. This gives us -# back-ported features for 2.6. -try: - import unittest2 as unittest -except ImportError: - import unittest +import unittest def unittest_has(method): |