Merge pull request #8555 from The-Compiler/py310-fix

Fix Python 3.10 test issues

(cherry picked from commit adc197424d)
This commit is contained in:
Florian Bruhin
2021-05-05 14:21:40 +02:00
committed by Michał Górny
parent ca68875eab
commit 1e1955dbb7
12 changed files with 73 additions and 41 deletions

View File

@@ -1210,7 +1210,7 @@ def test_unorderable_types(testdir):
assert result.ret == ExitCode.NO_TESTS_COLLECTED
@pytest.mark.filterwarnings("default")
@pytest.mark.filterwarnings("default::pytest.PytestCollectionWarning")
def test_dont_collect_non_function_callable(testdir):
"""Test for issue https://github.com/pytest-dev/pytest/issues/331