Fix spelling mistake in #1207.
This commit is contained in:
parent
e7e4860ded
commit
0d2668017d
|
@ -548,7 +548,7 @@ def build_summary_stats_line(stats):
|
|||
if parts:
|
||||
line = ", ".join(parts)
|
||||
else:
|
||||
line = "no tests run"
|
||||
line = "no tests ran"
|
||||
|
||||
if 'failed' in stats or 'error' in stats:
|
||||
color = 'red'
|
||||
|
|
|
@ -779,10 +779,10 @@ def test_terminal_summary(testdir):
|
|||
("green", "1 passed, 1 xpassed", {"xpassed": (1,), "passed": (1,)}),
|
||||
|
||||
# Likewise if no tests were found at all
|
||||
("yellow", "no tests run", {}),
|
||||
("yellow", "no tests ran", {}),
|
||||
|
||||
# Test the empty-key special case
|
||||
("yellow", "no tests run", {"": (1,)}),
|
||||
("yellow", "no tests ran", {"": (1,)}),
|
||||
("green", "1 passed", {"": (1,), "passed": (1,)}),
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue