summaryrefslogtreecommitdiff
path: root/coverage/backunittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/backunittest.py')
-rw-r--r--coverage/backunittest.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/coverage/backunittest.py b/coverage/backunittest.py
index 09574ccb..21d7bcb2 100644
--- a/coverage/backunittest.py
+++ b/coverage/backunittest.py
@@ -1,14 +1,9 @@
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
"""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):