Commit a847c819 authored by Alexander Belopolsky's avatar Alexander Belopolsky

This should fix buildbot failure introduced by r84994

parent 82df53e9
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment