mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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
|
@ -19,9 +19,9 @@ from StringIO import StringIO
|
|||
from test import test_support
|
||||
|
||||
|
||||
from optparse import make_option, Option, IndentedHelpFormatter, \
|
||||
TitledHelpFormatter, OptionParser, OptionContainer, OptionGroup, \
|
||||
SUPPRESS_HELP, SUPPRESS_USAGE, OptionError, OptionConflictError, \
|
||||
from optparse import make_option, Option, \
|
||||
TitledHelpFormatter, OptionParser, OptionGroup, \
|
||||
SUPPRESS_USAGE, OptionError, OptionConflictError, \
|
||||
BadOptionError, OptionValueError, Values
|
||||
from optparse import _match_abbrev
|
||||
from optparse import _parse_num
|
||||
|
@ -1236,7 +1236,6 @@ class TestCallbackVarArgs(BaseTest):
|
|||
|
||||
def variable_args(self, option, opt, value, parser):
|
||||
self.assertTrue(value is None)
|
||||
done = 0
|
||||
value = []
|
||||
rargs = parser.rargs
|
||||
while rargs:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue