mirror of https://github.com/python/cpython
This should fix buildbot failure introduced by r84994
This commit is contained in:
parent
82df53e932
commit
a847c81914
|
@ -329,6 +329,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…
Reference in New Issue