This commit is contained in:
Eric Soroos 2021-01-07 15:26:23 +01:00
parent a6fa139f62
commit 1d0149c369

View File

@ -24,7 +24,7 @@ def pytest_configure(config):
warnings.simplefilter("error") warnings.simplefilter("error")
try: try:
getattr(pytest.mark, "valgrind_known_error") getattr(pytest.mark, "valgrind_known_error")
except: except Exception:
config.addinivalue_line( config.addinivalue_line(
"markers", "markers",
"valgrind_known_error: Tests that have known issues with valgrind", "valgrind_known_error: Tests that have known issues with valgrind",