Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools.

This commit is contained in:
Mark Dickinson 2012-05-07 10:27:23 +01:00
parent 43d6ddc80f
commit 44ceea9326
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ class Gprof2htmlTests(unittest.TestCase):
self.assertTrue(wmock.open.called)
# Run the tests in Tools/parser/test_unparse.py
with support.DirsOnSysPath(os.path.join(basepath, 'parser')):
from test_unparse import UnparseTestCase, DirectoryTestCase
def test_main():
support.run_unittest(*[obj for obj in globals().values()
if isinstance(obj, type)])