[issue14235] test_cmd.py does not correctly call reload()

2012-03-09 Thread Josh Watson
Josh Watson j...@joshwatson.com added the comment: That particular function only gets called by running `./python Lib/test/test_cmd.py -c`, and not through regrtest.py, so I suspect that's why it wasn't noticed before. I just happened to be exploring test files and ran into an unhandled

[issue14235] test_cmd.py does not correctly call reload()

2012-03-08 Thread Josh Watson
New submission from Josh Watson j...@joshwatson.com: The test_coverage function in test_cmd.py calls reload(cmd) -- components: Tests messages: 155200 nosy: Josh.Watson priority: normal severity: normal status: open title: test_cmd.py does not correctly call reload() type: crash

[issue14235] test_cmd.py does not correctly call reload()

2012-03-08 Thread Josh Watson
Josh Watson j...@joshwatson.com added the comment: Accidentally submitted before finishing typing. Anyways, it calls reload(cmd) in the test_coverage function in test_cmd.py, which does not work anymore given that reload has been moved to imp. I've uploaded a patch that fixes

[issue14235] test_cmd.py does not correctly call reload()

2012-03-08 Thread Josh Watson
Changes by Josh Watson j...@joshwatson.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14235 ___ ___ Python-bugs-list