mirror of https://github.com/python/cpython
Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools.
This commit is contained in:
parent
43d6ddc80f
commit
44ceea9326
|
@ -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)])
|
||||
|
|
Loading…
Reference in New Issue