Skip to content

Commit 5a53a75

Browse files
pfalconpi-anl
authored andcommitted
unittest: Print no. of skipped tests in a way compatible with CPython.
Perhaps, modern CPython (3.8). Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 01fcd42 commit 5a53a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-stdlib/unittest/unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def run(self, suite):
237237
else:
238238
msg = "OK"
239239
if res.skippedNum > 0:
240-
msg += " (%d skipped)" % res.skippedNum
240+
msg += " (skipped=%d)" % res.skippedNum
241241
print(msg)
242242

243243
return res

0 commit comments

Comments
 (0)