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
commit cbca9f1def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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(