summaryrefslogtreecommitdiff
path: root/coverage
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-05-05 08:49:01 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-05-05 08:49:01 -0400
commit97e71354ab82ca573df2dd90c60c510aab6b663d (patch)
treeea91344f1567e48f786bc347f78c5bb0323fa16b /coverage
parent0ad9ce7affb80fc7716d5de8df38b246282ea55c (diff)
downloadpython-coveragepy-97e71354ab82ca573df2dd90c60c510aab6b663d.tar.gz
No more support for 2.6 or 3.3
Diffstat (limited to 'coverage')
-rw-r--r--coverage/backunittest.py7
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):