mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Remove unused imports in test modules.
This commit is contained in:
parent
dc3694bee0
commit
a4f46e1292
74 changed files with 40 additions and 135 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue