Fix test about pytest.skip message being used at global level
Fix #1959
This commit is contained in:
@@ -967,5 +967,5 @@ def test_module_level_skip_error(testdir):
|
|||||||
""")
|
""")
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
result.stdout.fnmatch_lines(
|
result.stdout.fnmatch_lines(
|
||||||
"*Using @pytest.skip outside of a test * is not allowed*"
|
"*Using pytest.skip outside of a test is not allowed*"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user