From 44ceea932633dc3c8150393553c279ba891fdfec Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 7 May 2012 10:27:23 +0100 Subject: [PATCH] Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools. --- Lib/test/test_tools.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py index 8ccabfbcfd..87a1ec8e6a 100644 --- a/Lib/test/test_tools.py +++ b/Lib/test/test_tools.py @@ -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)]) -- 2.40.0