Merge pull request #7118 from bluetech/ignore-collect-directory-warning
testing: avoid pytest_collect_directory message in warning summary
This commit is contained in:
commit
cbca9f1def
|
@ -223,7 +223,7 @@ class TestGeneralUsage:
|
||||||
"E {}: No module named 'qwerty'".format(exc_name),
|
"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):
|
def test_early_skip(self, testdir):
|
||||||
testdir.mkdir("xyz")
|
testdir.mkdir("xyz")
|
||||||
testdir.makeconftest(
|
testdir.makeconftest(
|
||||||
|
|
Loading…
Reference in New Issue