From 06dcb2cd9ed65177ea5244d009fbb259dc776341 Mon Sep 17 00:00:00 2001 From: Antoine Labarussias Date: Tue, 9 May 2023 15:55:18 +0200 Subject: [PATCH] python3packages.ruyaml: fix tests --- pkgs/development/python-modules/ruyaml/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/ruyaml/default.nix b/pkgs/development/python-modules/ruyaml/default.nix index 3ddede9d8c5a..8779325d9b23 100644 --- a/pkgs/development/python-modules/ruyaml/default.nix +++ b/pkgs/development/python-modules/ruyaml/default.nix @@ -37,6 +37,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "-W" "ignore::DeprecationWarning" + ]; + pythonImportsCheck = [ "ruyaml" ];