From 6194910f2ec5a40fb233da6f8ca23499193f16d9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 5 Mar 2022 22:08:59 +0100 Subject: [PATCH] python3Packages.devtools: ignore pytest8 deprecation warning --- pkgs/development/python-modules/devtools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/devtools/default.nix b/pkgs/development/python-modules/devtools/default.nix index 5d4f0871bf78..c9e0a79a2413 100644 --- a/pkgs/development/python-modules/devtools/default.nix +++ b/pkgs/development/python-modules/devtools/default.nix @@ -34,6 +34,11 @@ buildPythonPackage rec { pytest-mock ]; + pytestFlagsArray = [ + # pytest.PytestRemovedIn8Warning: Passing None has been deprecated. + "-W ignore::pytest.PytestRemovedIn8Warning" + ]; + disabledTests = [ # Test for Windows32 "test_print_subprocess"