Merge pull request #7118 from bluetech/ignore-collect-directory-warning

testing: avoid pytest_collect_directory message in warning summary
This commit is contained in:
Ran Benita
2020-04-24 21:34:29 +03:00
committed by GitHub

View File

@@ -223,7 +223,7 @@ class TestGeneralUsage:
"E {}: No module named 'qwerty'".format(exc_name),
]
@pytest.mark.filterwarnings("always::pytest.PytestDeprecationWarning")
@pytest.mark.filterwarnings("ignore::pytest.PytestDeprecationWarning")
def test_early_skip(self, testdir):
testdir.mkdir("xyz")
testdir.makeconftest(