diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix index c21ee73c3e05..c55f1b4ccd1e 100644 --- a/pkgs/development/python-modules/omegaconf/default.nix +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -9,7 +9,7 @@ jre_minimal, pydevd, pytest-mock, - pytestCheckHook, + pytest7CheckHook, pythonAtLeast, pythonOlder, pyyaml, @@ -60,13 +60,14 @@ buildPythonPackage rec { attrs pydevd pytest-mock - pytestCheckHook + pytest7CheckHook ]; pythonImportsCheck = [ "omegaconf" ]; pytestFlags = [ "-Wignore::DeprecationWarning" + "-Wignore::UserWarning" ]; disabledTests = [