From 0d2668017dcf2ac618dfaeff671c24b603b5e0ca Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 30 Nov 2015 17:32:20 +0100 Subject: [PATCH] Fix spelling mistake in #1207. --- _pytest/terminal.py | 2 +- testing/test_terminal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index 8a572e395..8aca7dd92 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -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' diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 0035bbeb0..7c4b3eba6 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -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,)}),