mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 78093 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
This commit is contained in:
parent
7a4f7d92f0
commit
1b37e8728c
55 changed files with 25 additions and 98 deletions
|
@ -16,9 +16,9 @@ from io import StringIO
|
|||
from test import 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
|
||||
|
@ -1224,7 +1224,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