Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Cope with zope.testrunner 4.4.0
Browse files Browse the repository at this point in the history
It now prints the number of skipped tests.
  • Loading branch information
mgedmin committed Apr 14, 2015
1 parent c85986b commit 52bb446
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/z3c/testsetup/tests/test_testsetup.py
Expand Up @@ -23,6 +23,9 @@
checker = renormalizing.RENormalizing([
# Relevant normalizers from zope.testing.testrunner.tests:
(re.compile(r'(\d minutes )?\d+[.]\d\d\d seconds'), 'N.NNN seconds'),
# zope.testrunner changed its output format in 4.4.0:
(re.compile(r'(Ran .*), (\d) errors and 0 skipped'), r'\1 and \2 errors'),
(re.compile(r'(Total: .*), (\d) errors and 0 skipped'), r'\1, \2 errors'),
# Our own one to work around
# http://reinout.vanrees.org/weblog/2009/07/16/invisible-test-diff.html:
(re.compile(r'.*1034h'), ''),
Expand Down

0 comments on commit 52bb446

Please sign in to comment.