[Python-bugs-list] [Bug #112436] getopt regression test failure
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 21 Aug 2000 16:47:32 -0700
Bug #112436, was updated on 2000-Aug-21 16:07
Here is a current snapshot of the bug.
Project: Python
Category: Library
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Summary: getopt regression test failure
Details: When running an installed Python using the command line "python -c 'import test.autotest'", the getopt regression fails with this message:
test_getopt
test test_getopt failed -- Unread: 'Running tests on getopt.short_has_arg\012Running tests on getopt.long_has_args\012Running tests on getopt.do_shorts\012Running tests on getopt.do_longs\012Running tests on getopt.getopt\012Module getopt: tests completed successfully.\012'
Follow-Ups:
Date: 2000-Aug-21 16:19
By: fdrake
Comment:
This also fails using "./python -c 'import test.autotest'" from the build area -- the important point seems to be running the test using import test.autotest instead of running test/regrtest.py as a script.
-------------------------------------------------------
Date: 2000-Aug-21 19:47
By: tim_one
Comment:
Changed to Fixed and Closed. Pinned on
from test.test_support import verbose
in test_getopt.py, which was causing a 2nd copy of test_support to get loaded with "the wrong" verbose value -- but only sometimes, depending on how you invoked regrtest!
Guido fixed it (or at least said he did <wink> -- make sure you try it again!).
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=112436&group_id=5470