fixtures: some type annotations

This commit is contained in:
Ran Benita
2020-10-03 14:21:41 +03:00
parent 7f794b7aff
commit bf09e7792f
2 changed files with 39 additions and 32 deletions

View File

@@ -1059,7 +1059,7 @@ class TestRequestMarking:
req1.applymarker(pytest.mark.skipif)
assert "skipif" in item1.keywords
with pytest.raises(ValueError):
req1.applymarker(42)
req1.applymarker(42) # type: ignore[arg-type]
def test_accesskeywords(self, testdir):
testdir.makepyfile(