Update reason in test to prevent confusing with test_no_reason

This commit is contained in:
Michael Aquilina 2015-10-03 17:01:21 +01:00
parent 122980ecad
commit 00d0c74657
1 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ class TestSkip:
@pytest.mark.skip
def test_foo():
pass
@pytest.mark.skip(reason="no reason")
@pytest.mark.skip(reason="nothing in particular")
def test_bar():
pass
def test_baz():
@ -463,7 +463,7 @@ class TestSkip:
""")
result = testdir.runpytest('-rs')
result.stdout.fnmatch_lines([
"*no reason*",
"*nothing in particular*",
"*1 passed*2 skipped*",
])