diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-03 16:33:16 +0200 |
---|---|---|
committer | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-03 16:33:16 +0200 |
commit | a5cf55dd4a5237ad4b5d6e93d9822558bbc8cd28 (patch) | |
tree | 2d7580b528616a6d5d767978f3200024f89027fe /testing | |
parent | 63ef46dd91d8e320a0e1db226da0b32912e0c8c5 (diff) | |
download | pytest-a5cf55dd4a5237ad4b5d6e93d9822558bbc8cd28.tar.gz |
fix test_mark_option_custom - it used the legacy keyword storage for addign markers
Diffstat (limited to 'testing')
-rw-r--r-- | testing/test_mark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_mark.py b/testing/test_mark.py index 9ec1ce75a..520712895 100644 --- a/testing/test_mark.py +++ b/testing/test_mark.py @@ -295,7 +295,7 @@ def test_mark_option_custom(spec, testdir): def pytest_collection_modifyitems(items): for item in items: if "interface" in item.nodeid: - item.keywords["interface"] = pytest.mark.interface + item.add_marker(pytest.mark.interface) """) testdir.makepyfile(""" def test_interface(): |