File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ def __getattr__(self, name):
306
306
# then it really is time to issue a warning or an error.
307
307
if name not in self ._markers :
308
308
if self ._config .option .strict :
309
- fail ("{!r} not a registered marker" .format (name ), pytrace = False )
309
+ fail ("{!r} is not a registered marker" .format (name ), pytrace = False )
310
310
else :
311
311
warnings .warn (
312
312
"Unknown pytest.mark.%s - is this a typo? You can register "
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ def test_hello():
204
204
)
205
205
result = testdir .runpytest ("--strict" )
206
206
assert result .ret != 0
207
- result .stdout .fnmatch_lines (["'unregisteredmark' not a registered marker" ])
207
+ result .stdout .fnmatch_lines (["'unregisteredmark' is not a registered marker" ])
208
208
209
209
210
210
@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments