diff --git a/pkgs/development/python-modules/flax/default.nix b/pkgs/development/python-modules/flax/default.nix index e96da46fe386..7ad8ea62a125 100644 --- a/pkgs/development/python-modules/flax/default.nix +++ b/pkgs/development/python-modules/flax/default.nix @@ -83,6 +83,11 @@ buildPythonPackage rec { tensorflow ]; + pytestFlags = [ + # FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar. + "-Wignore::FutureWarning" + ]; + disabledTestPaths = [ # Docs test, needs extra deps + we're not interested in it. "docs/_ext/codediff_test.py"