Message170099
The --start option to regrtest raises an AttributeError in many scenarios. For example, these both raise an error:
$ ./python.exe -m test --start test_random
$ ./python.exe -m test --start test_random test_binascii test_random
Traceback (most recent call last):
File ".../Lib/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File ".../Lib/runpy.py", line 73, in _run_code
exec(code, run_globals)
File ".../Lib/test/__main__.py", line 13, in <module>
regrtest.main()
File ".../Lib/test/regrtest.py", line 562, in main
del tests[:tests.index(start)]
AttributeError: 'NoneType' object has no attribute 'index'
Patch attached. |
|
Date |
User |
Action |
Args |
2012-09-09 12:20:19 | chris.jerdonek | set | recipients:
+ chris.jerdonek, pitrou, ezio.melotti, michael.foord |
2012-09-09 12:20:19 | chris.jerdonek | set | messageid: <1347193219.18.0.453057488599.issue15889@psf.upfronthosting.co.za> |
2012-09-09 12:20:18 | chris.jerdonek | link | issue15889 messages |
2012-09-09 12:20:18 | chris.jerdonek | create | |
|