diff --git a/pkgs/development/python-modules/pytest-examples/default.nix b/pkgs/development/python-modules/pytest-examples/default.nix index 39e4fd28a34c..54ab8c681969 100644 --- a/pkgs/development/python-modules/pytest-examples/default.nix +++ b/pkgs/development/python-modules/pytest-examples/default.nix @@ -44,6 +44,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "pytest_examples" ]; + pytestFlags = [ + "-Wignore::pytest.PytestRemovedIn10Warning" + ]; + disabledTests = [ # Fails with AssertionError because formatting is different than expected "test_black_error"