New submission from Josh Watson :
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
versions: Python 3.3
Josh Watson 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 this.
Changes by Josh Watson :
--
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issue14235>
___
___
Python-bugs-list mailing list
Unsubscri
Josh Watson 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 exception wh