diff options
author | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-07 17:03:15 (GMT) |
commit | a4f46e129294c686ef1effdd89c459bd9a624e6d (patch) | |
tree | d8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_optparse.py | |
parent | dc3694bee021480980d5b66a93f69ce137ee5be4 (diff) | |
download | cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.zip cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.bz2 |
Remove unused imports in test modules.
Diffstat (limited to 'Lib/test/test_optparse.py')
-rw-r--r-- | Lib/test/test_optparse.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py index d3ed61f..7733813 100644 --- a/Lib/test/test_optparse.py +++ b/Lib/test/test_optparse.py @@ -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: |