Fix test about pytest.skip message being used at global level

Fix #1959
This commit is contained in:
Bruno Oliveira 2016-10-01 13:38:41 -03:00
parent 57bb3c6922
commit 336d7900c5
1 changed files with 1 additions and 1 deletions

View File

@ -967,5 +967,5 @@ def test_module_level_skip_error(testdir):
""")
result = testdir.runpytest()
result.stdout.fnmatch_lines(
"*Using @pytest.skip outside of a test * is not allowed*"
"*Using pytest.skip outside of a test is not allowed*"
)