From 692987a02adfaa7e05086c1d4c89228d0525bc2e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 5 May 2018 08:49:01 -0400 Subject: No more support for 2.6 or 3.3 --- coverage/backunittest.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'coverage/backunittest.py') 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): -- cgit v1.2.1