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 | 692987a02adfaa7e05086c1d4c89228d0525bc2e (patch) | |
tree | c03a2d9a28ea2b3cbba0ceba3c44db2da0821868 /coverage/backunittest.py | |
parent | 2a35bb182114a4ea47780cd0dc6fa08735e5fbaa (diff) | |
download | python-coveragepy-git-692987a02adfaa7e05086c1d4c89228d0525bc2e.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 09574ccb..1b084835 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): |