diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-03 05:37:26 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-03 05:37:26 (GMT) |
| commit | dde5b94875460e704099593766f4a5bc3279483d (patch) | |
| tree | d0c369148bd2d2f723896839aada008ef931ff19 /Lib/test/test_optparse.py | |
| parent | 17ae2ba78f96d661bdd1d8e2e8f96016c4aa4a60 (diff) | |
| download | cpython-dde5b94875460e704099593766f4a5bc3279483d.zip cpython-dde5b94875460e704099593766f4a5bc3279483d.tar.gz cpython-dde5b94875460e704099593766f4a5bc3279483d.tar.bz2 | |
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/test/test_optparse.py')
| -rw-r--r-- | Lib/test/test_optparse.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py index 4a380b2..e9149d9 100644 --- a/Lib/test/test_optparse.py +++ b/Lib/test/test_optparse.py @@ -26,12 +26,6 @@ from optparse import make_option, Option, IndentedHelpFormatter, \ from optparse import _match_abbrev from optparse import _parse_num -# Do the right thing with boolean values for all known Python versions. -try: - True, False -except NameError: - (True, False) = (1, 0) - retype = type(re.compile('')) class InterceptedError(Exception): |
