Roundup Robot added the comment:
New changeset d943089af1c6 by Berker Peksag in branch '3.4':
Issue #14235: Use importlib.reload() in test_cmd.test_coverage.
http://hg.python.org/cpython/rev/d943089af1c6
New changeset 10a1e7780ee7 by Berker Peksag in branch 'default':
Issue #14235: Merge from
Berker Peksag added the comment:
Fixed. Thanks for the report.
--
assignee: eric.araujo - berker.peksag
nosy: +berker.peksag, r.david.murray
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
Mark Lawrence added the comment:
The patch has not been applied to the default or 3.4 branches.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14235
___
Éric Araujo mer...@netwok.org added the comment:
Ah, right. Will apply your patch.
--
assignee: - eric.araujo
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14235
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and patch. This begs the question: why does the current
buggy code not cause a test failure?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
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
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
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 this.
Changes by Josh Watson j...@joshwatson.com:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14235
___
___
Python-bugs-list