Fix spelling mistake in #1207.

This commit is contained in:
Florian Bruhin 2015-11-30 17:32:20 +01:00
parent e7e4860ded
commit 0d2668017d
2 changed files with 3 additions and 3 deletions

View File

@ -548,7 +548,7 @@ def build_summary_stats_line(stats):
if parts: if parts:
line = ", ".join(parts) line = ", ".join(parts)
else: else:
line = "no tests run" line = "no tests ran"
if 'failed' in stats or 'error' in stats: if 'failed' in stats or 'error' in stats:
color = 'red' color = 'red'

View File

@ -779,10 +779,10 @@ def test_terminal_summary(testdir):
("green", "1 passed, 1 xpassed", {"xpassed": (1,), "passed": (1,)}), ("green", "1 passed, 1 xpassed", {"xpassed": (1,), "passed": (1,)}),
# Likewise if no tests were found at all # Likewise if no tests were found at all
("yellow", "no tests run", {}), ("yellow", "no tests ran", {}),
# Test the empty-key special case # Test the empty-key special case
("yellow", "no tests run", {"": (1,)}), ("yellow", "no tests ran", {"": (1,)}),
("green", "1 passed", {"": (1,), "passed": (1,)}), ("green", "1 passed", {"": (1,), "passed": (1,)}),