Skip to content

Commit ef900ba

Browse files
committed
"finally" everything in testset teardown
1 parent 611d8b7 commit ef900ba

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

unpythonic/test/fixtures.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -656,14 +656,14 @@ def print_and_proceed(condition):
656656
_nesting_level -= 1
657657
assert _nesting_level >= 0
658658

659-
r2, f2, e2, w2 = counters()
660-
runs = r2 - r1
661-
fails = f2 - f1
662-
errors = e2 - e1
663-
warns = w2 - w1
664-
665-
msg = (maybe_colorize("{} ".format(title), TestConfig.CS.HEADING) +
666-
maybe_colorize("END", TC.BRIGHT, TestConfig.CS.HEADING) +
667-
maybe_colorize(": ", TestConfig.CS.HEADING) +
668-
summarize(runs, fails, errors, warns))
669-
TestConfig.printer(msg)
659+
r2, f2, e2, w2 = counters()
660+
runs = r2 - r1
661+
fails = f2 - f1
662+
errors = e2 - e1
663+
warns = w2 - w1
664+
665+
msg = (maybe_colorize("{} ".format(title), TestConfig.CS.HEADING) +
666+
maybe_colorize("END", TC.BRIGHT, TestConfig.CS.HEADING) +
667+
maybe_colorize(": ", TestConfig.CS.HEADING) +
668+
summarize(runs, fails, errors, warns))
669+
TestConfig.printer(msg)

0 commit comments

Comments
 (0)