mirror of
https://github.com/python/cpython.git
synced 2025-07-12 05:45:15 +00:00
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 ........
This commit is contained in:
parent
402392bd5a
commit
1a0eb98b9c
1 changed files with 2 additions and 0 deletions
|
@ -307,6 +307,8 @@ class TestCoverage(unittest.TestCase):
|
|||
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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue