Merge pull request #5128 from blueyed/mark-is
Fix error message with unregistered markers
This commit is contained in:
@@ -205,7 +205,7 @@ def test_strict_prohibits_unregistered_markers(testdir):
|
||||
)
|
||||
result = testdir.runpytest("--strict")
|
||||
assert result.ret != 0
|
||||
result.stdout.fnmatch_lines(["'unregisteredmark' not a registered marker"])
|
||||
result.stdout.fnmatch_lines(["'unregisteredmark' is not a registered marker"])
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user