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;