From 430ee4ec951ebb429a98e236f22219220d45d956 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 13 Jul 2026 23:55:19 +0200 Subject: [PATCH] python3Packages.pytest-examples: ignore pytest 10 deprecations --- pkgs/development/python-modules/pytest-examples/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"