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 <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <20080705182828.A693A3999C__12594.5998159752$1215282588$gmane$org@mail.zope.org>
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:
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.