[Python-checkins] r85000 - python/branches/py3k/Lib/test/test_trace.py
alexander.belopolsky
python-checkins at python.org
Sat Sep 25 00:04:23 CEST 2010
Author: alexander.belopolsky
Date: Sat Sep 25 00:04:22 2010
New Revision: 85000
Log:
This should fix buildbot failure introduced by r84994
Modified:
python/branches/py3k/Lib/test/test_trace.py
Modified: python/branches/py3k/Lib/test/test_trace.py
==============================================================================
--- python/branches/py3k/Lib/test/test_trace.py (original)
+++ python/branches/py3k/Lib/test/test_trace.py Sat Sep 25 00:04:22 2010
@@ -329,6 +329,8 @@
for line in stdout:
lines, cov, module = line.split()[:3]
coverage[module] = (int(lines), int(cov[:-1]))
+ # XXX This is needed to run regrtest.py as a script
+ modname = trace.fullmodname(sys.modules[modname].__file__)
self.assertIn(modname, coverage)
self.assertEqual(coverage[modname], (5, 100))
More information about the Python-checkins
mailing list