Fix test about pytest.skip message being used at global level
Fix #1959
This commit is contained in:
parent
57bb3c6922
commit
336d7900c5
|
@ -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*"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue