From 5c58dace029e08b9630ba2a4dd418cf0dad5e533 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 6 Aug 2025 00:18:33 +0200 Subject: [PATCH] python3Packages.nbformat: ignore unraisable exceptions during tests --- pkgs/development/python-modules/nbformat/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/nbformat/default.nix b/pkgs/development/python-modules/nbformat/default.nix index 7c31e3e4acc7..2274c41496dd 100644 --- a/pkgs/development/python-modules/nbformat/default.nix +++ b/pkgs/development/python-modules/nbformat/default.nix @@ -46,13 +46,7 @@ buildPythonPackage rec { testpath ]; - disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [ - # ResourceWarning: unclosed database in - "tests/test_validator.py" - "tests/v4/test_convert.py" - "tests/v4/test_json.py" - "tests/v4/test_validate.py" - ]; + pytestFlags = [ "-Wignore::pytest.PytestUnraisableExceptionWarning" ]; # Some of the tests use localhost networking. __darwinAllowLocalNetworking = true;