Fix plurality mismatch for and in pytest terminal summary

This commit is contained in:
MarcoGorelli
2019-10-27 15:02:37 +00:00
parent cbc39dd86e
commit d863c30c74
17 changed files with 45 additions and 30 deletions

View File

@@ -1167,7 +1167,7 @@ def test_dont_collect_non_function_callable(testdir):
[
"*collected 1 item*",
"*test_dont_collect_non_function_callable.py:2: *cannot collect 'test_a' because it is not a function*",
"*1 passed, 1 warnings in *",
"*1 passed, 1 warning in *",
]
)

View File

@@ -3081,7 +3081,7 @@ class TestErrors:
*KeyError*
*ERROR*teardown*test_2*
*KeyError*
*3 pass*2 error*
*3 pass*2 errors*
"""
)