[Zope3-checkins] SVN: zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/filter.py fix bug that causes the unit test layer to be skipped if run in a subprocess

Benji York benji at zope.com
Sat Jul 5 14:28:28 EDT 2008


Log message for revision 88042:
  fix bug that causes the unit test layer to be skipped if run in a subprocess
  (inherited from the trunk, needs tests)
  

Changed:
  U   zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/filter.py

-=-
Modified: zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/filter.py
===================================================================
--- zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/filter.py	2008-07-05 16:12:08 UTC (rev 88041)
+++ zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/filter.py	2008-07-05 18:28:26 UTC (rev 88042)
@@ -36,7 +36,7 @@
             # We start out assuming unit tests should run and look for reasons
             # why they shouldn't be run.
             should_run = True
-            if (not options.non_unit) and not options.resume_layer:
+            if (not options.non_unit):
                 if options.layer:
                     should_run = False
                     for pat in options.layer:



More information about the Zope3-Checkins mailing list