File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -608,9 +608,9 @@ def _importtestmodule(self):
608
608
if e .allow_module_level :
609
609
raise
610
610
raise self .CollectError (
611
- "Using pytest.skip outside will skip the entire module, "
612
- "if that's your intention pass `allow_module_level=True`. "
613
- "If you want to skip a specific test or entire class, "
611
+ "Using pytest.skip outside of a test will skip the entire module. "
612
+ "If that's your intention, pass `allow_module_level=True`. "
613
+ "If you want to skip a specific test or an entire class, "
614
614
"use the @pytest.mark.skip or @pytest.mark.skipif decorators."
615
615
) from e
616
616
self .config .pluginmanager .consider_module (mod )
Original file line number Diff line number Diff line change @@ -1341,7 +1341,7 @@ def test_func():
1341
1341
)
1342
1342
result = pytester .runpytest ()
1343
1343
result .stdout .fnmatch_lines (
1344
- ["*Using pytest.skip outside will skip the entire module*" ]
1344
+ ["*Using pytest.skip outside of a test will skip the entire module*" ]
1345
1345
)
1346
1346
1347
1347
You can’t perform that action at this time.
0 commit comments