Skip to content

Commit 336d790

Browse files
committed
Fix test about pytest.skip message being used at global level
Fix #1959
1 parent 57bb3c6 commit 336d790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testing/test_skipping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,5 +967,5 @@ def test_func():
967967
""")
968968
result = testdir.runpytest()
969969
result.stdout.fnmatch_lines(
970-
"*Using @pytest.skip outside of a test * is not allowed*"
970+
"*Using pytest.skip outside of a test is not allowed*"
971971
)

0 commit comments

Comments
 (0)