[Zope3-checkins] CVS: Zope3 - test.py:1.31
Barry Warsaw
barry@wooz.org
Fri, 20 Dec 2002 14:35:15 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv12044
Modified Files:
test.py
Log Message:
Only print the "skipped" message when in VERBOSE mode
=== Zope3/test.py 1.30 => 1.31 ===
--- Zope3/test.py:1.30 Fri Dec 20 11:11:57 2002
+++ Zope3/test.py Fri Dec 20 14:35:14 2002
@@ -308,7 +308,8 @@
# We specifically do not want to catch ImportError since that's useful
# information to know when running the tests.
except RuntimeError, e:
- print 'skipping', pkg, 'because:', e
+ if VERBOSE:
+ print 'skipping', pkg, 'because:', e
return
for file in files:
if file.startswith('test') and os.path.splitext(file)[-1] == '.py':