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

Josh Watson report at bugs.python.org
Fri Mar 9 02:15:38 CET 2012

Josh Watson <josh at 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 this.

keywords: +patch
Added file: http://bugs.python.org/file24763/test_cmd-reload.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list