summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_all.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/test_all.py b/tests/test_all.py
index de6cb0c0..180712f9 100644
--- a/tests/test_all.py
+++ b/tests/test_all.py
@@ -6,17 +6,10 @@
# notice and this notice are preserved.
"""Run all available unit tests."""
import os
+import unittest.runner
+import unittest
import sys
-try:
- import unittest.runner
- import unittest
- unittest # pyflakes
-except ImportError:
- # py2.6 compat
- import unittest2 as unittest
-
-
# workaround for py3.2 that apparently does not have this anymore
# it has "abiflags"
if not hasattr(sys, "pydebug"):