SVN: zope.testing/trunk/src/zope/testing/testrunner/__init__.py Allow people to try out the test runner with

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <[email protected]>
Log message for revision 89118:
  Allow people to try out the test runner with
  
    python -m zope.testing.testrunner --test-path .
  
  

Changed:
  U   zope.testing/trunk/src/zope/testing/testrunner/__init__.py

-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner/__init__.py
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner/__init__.py	2008-08-01 09:52:16 UTC (rev 89117)
+++ zope.testing/trunk/src/zope/testing/testrunner/__init__.py	2008-08-01 11:43:28 UTC (rev 89118)
@@ -47,3 +47,8 @@
 
 # Install 2.4 TestSuite __iter__ into earlier versions
 ###############################################################################
+
+if __name__ == '__main__':
+    # allow people to try out the test runner with
+    # python -m zope.testing.testrunner --test-path .
+    run()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.