summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_re.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
commita4f46e129294c686ef1effdd89c459bd9a624e6d (patch)
treed8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_re.py
parentdc3694bee021480980d5b66a93f69ce137ee5be4 (diff)
downloadcpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.zip
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.bz2
Remove unused imports in test modules.
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r--Lib/test/test_re.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index 8136002..ba2f521 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -1,7 +1,7 @@
from test.test_support import verbose, run_unittest
import re
from re import Scanner
-import sys, os, traceback
+import sys, traceback
from weakref import proxy
# Misc tests from Tim Peters' re.doc
@@ -715,7 +715,7 @@ class ReTests(unittest.TestCase):
self.assertRaises(OverflowError, _sre.compile, "abc", 0, [long_overflow])
def run_re_tests():
- from test.re_tests import benchmarks, tests, SUCCEED, FAIL, SYNTAX_ERROR
+ from test.re_tests import tests, SUCCEED, FAIL, SYNTAX_ERROR
if verbose:
print 'Running re_tests test suite'
else: