[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner. removed unneccesary (and non-working) code to dump results to a file, if we

Benji York benji at zope.com
Mon Aug 15 07:56:02 EDT 2005


Log message for revision 37935:
  removed unneccesary (and non-working) code to dump results to a file, if we
  really want that functionality, we can add another command line option
  

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

-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner.py
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner.py	2005-08-15 11:12:11 UTC (rev 37934)
+++ zope.testing/trunk/src/zope/testing/testrunner.py	2005-08-15 11:55:32 UTC (rev 37935)
@@ -247,10 +247,6 @@
                               locals=vars())
 
                 r = tracer.results()
-                f = tempfile.NamedTemporaryFile()
-                cPickle.dump(r, f)
-                f.close()
-                print f.name
                 r.write_results(show_missing=False, summary=True, 
                                 coverdir=coverdir)
             else:

Modified: zope.testing/trunk/src/zope/testing/testrunner.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner.txt	2005-08-15 11:12:11 UTC (rev 37934)
+++ zope.testing/trunk/src/zope/testing/testrunner.txt	2005-08-15 11:55:32 UTC (rev 37935)
@@ -1908,7 +1908,6 @@
     >>> sys.argv = 'test --coverage=coverage_dir'.split()
     >>> testrunner.run(defaults)
     Running unit tests:
-    ...
     lines   cov%   module   (path)
     ...   ...%   zope.testing.testrunner   (src/zope/testing/testrunner.py)
     ...



More information about the Zope3-Checkins mailing list