[Python-checkins] r85020 - in python/branches/release27-maint: Lib/test/test_trace.py
alexander.belopolsky
python-checkins at python.org
Mon Sep 27 01:37:17 CEST 2010
Author: alexander.belopolsky
Date: Mon Sep 27 01:37:17 2010
New Revision: 85020
Log:
Merged revisions 85000 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85000 | alexander.belopolsky | 2010-09-24 18:04:22 -0400 (Fri, 24 Sep 2010) | 1 line
This should fix buildbot failure introduced by r84994
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Lib/test/test_trace.py
Modified: python/branches/release27-maint/Lib/test/test_trace.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_trace.py (original)
+++ python/branches/release27-maint/Lib/test/test_trace.py Mon Sep 27 01:37:17 2010
@@ -327,6 +327,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