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 @@ -312,7 +312,7 @@ def __getattr__(self, name):
312
312
# then it really is time to issue a warning or an error.
313
313
if name not in self ._markers :
314
314
if self ._config .option .strict :
315
- fail ("{!r} not a registered marker" .format (name ), pytrace = False )
315
+ fail ("{!r} is not a registered marker" .format (name ), pytrace = False )
316
316
else :
317
317
warnings .warn (
318
318
"Unknown pytest.mark.%s - is this a typo? You can register "
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def test_hello():
205
205
)
206
206
result = testdir .runpytest ("--strict" )
207
207
assert result .ret != 0
208
- result .stdout .fnmatch_lines (["'unregisteredmark' not a registered marker" ])
208
+ result .stdout .fnmatch_lines (["'unregisteredmark' is not a registered marker" ])
209
209
210
210
211
211
@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments