diff options
author | Mark Dickinson <mdickinson@enthought.com> | 2012-05-07 09:27:23 (GMT) |
---|---|---|
committer | Mark Dickinson <mdickinson@enthought.com> | 2012-05-07 09:27:23 (GMT) |
commit | 44ceea932633dc3c8150393553c279ba891fdfec (patch) | |
tree | abb7bc87ace3a5518069e03b2037c84f4949449f | |
parent | 43d6ddc80f664d3915a7afc6ef4131e665cb7d09 (diff) | |
download | cpython-44ceea932633dc3c8150393553c279ba891fdfec.zip cpython-44ceea932633dc3c8150393553c279ba891fdfec.tar.gz cpython-44ceea932633dc3c8150393553c279ba891fdfec.tar.bz2 |
Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools.
-rw-r--r-- | Lib/test/test_tools.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py index 8ccabfb..87a1ec8 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)]) |