[Zope3-checkins]
SVN: zope.testing/trunk/src/zope/testing/testrunner.txt
Small simplification in the --usecompiled test:
Tim Peters
tim.one at comcast.net
Thu Sep 29 10:27:41 EDT 2005
Log message for revision 38687:
Small simplification in the --usecompiled test:
Since the directory-duplicating code had to be changed to
skip .svn directories, there's no need for the code deleting
.py files in the copy to try to avoid that too.
Changed:
U zope.testing/trunk/src/zope/testing/testrunner.txt
-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner.txt 2005-09-29 09:49:45 UTC (rev 38686)
+++ zope.testing/trunk/src/zope/testing/testrunner.txt 2005-09-29 14:27:41 UTC (rev 38687)
@@ -1983,7 +1983,6 @@
delete the compiled Python files too:
>>> for root, dirs, files in os.walk(dst):
- ... dirs[:] = [d for d in dirs if d == "package"] # prune cruft
... for f in files:
... if f.endswith(".py"):
... os.remove(os.path.join(root, f))
More information about the Zope3-Checkins
mailing list