[Zope-Checkins] CVS: Zope3 - test.py:1.3
Jim Fulton
jim@zope.com
Tue, 11 Jun 2002 12:02:23 -0400
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv26447
Modified Files:
test.py
Log Message:
Added check to omit whining about non-packages that are also empty.
=== Zope3/test.py 1.2 => 1.3 ===
# ignore tests that aren't in packages
if not "__init__.py" in files:
+ if not files or files == ['CVS']:
+ return
+
print "not a package", dir
return
+
for file in files:
if file[:4] == "test" and file[-3:] == ".py":
path = join(dir, file)