Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython: Issue #14695: Run Tools/parser/test unparse.py as part of test tools.

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

May 7, 2012, 2:27 AM

Post #1 of 1 (30 views)
Permalink
cpython: Issue #14695: Run Tools/parser/test unparse.py as part of test tools.

http://hg.python.org/cpython/rev/f9344a3eaaa6
changeset: 76814:f9344a3eaaa6
user: Mark Dickinson <mdickinson [at] enthought>
date: Mon May 07 10:27:23 2012 +0100
summary:
Issue #14695: Run Tools/parser/test_unparse.py as part of test_tools.

files:
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
--- a/Lib/test/test_tools.py
+++ b/Lib/test/test_tools.py
@@ -122,6 +122,11 @@
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)])

--
Repository URL: http://hg.python.org/cpython

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.