[Zodb-checkins] CVS: ZODB4 - test.py:1.6
Jeremy Hylton
jeremy@zope.com
Thu, 5 Dec 2002 14:13:32 -0500
Update of /cvs-repository/ZODB4
In directory cvs.zope.org:/tmp/cvs-serv4362
Modified Files:
test.py
Log Message:
Revise skip/dependency message.
=== ZODB4/test.py 1.5 => 1.6 ===
--- ZODB4/test.py:1.5 Thu Dec 5 12:10:45 2002
+++ ZODB4/test.py Thu Dec 5 14:13:32 2002
@@ -357,8 +357,14 @@
runner(files, test_filter, debug)
else:
runner(files, test_filter, debug)
- print finder.skips, 'tests skipped due to unimportable dependencies'
-
+ if finder.skips:
+ if finder.skips > 1:
+ s = "s"
+ else:
+ s = ""
+ msg = ("%d test suite%s skipped due to unimportable dependencies"
+ % (finder.skips, s))
+ print msg
def process_args(argv=None):
if argv is None: