From 9effe50ca4c43955d91babf68d328a9f0932c451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 7 Aug 2023 12:46:52 -0700 Subject: [PATCH] python310Packages.notebook: fix tests --- pkgs/development/python-modules/notebook/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index 628742c72f30..957752040e43 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -50,6 +50,10 @@ buildPythonPackage rec { pytestCheckHook ]; + pytestFlagsArray = [ + "-W" "ignore::DeprecationWarning" + ]; + env = { JUPYTER_PLATFORM_DIRS = 1; };