python3Packages.nbformat: ignore unraisable exceptions during tests

This commit is contained in:
Martin Weinelt
2025-08-09 19:04:53 +02:00
parent 8d254a910b
commit 5c58dace02
@@ -46,13 +46,7 @@ buildPythonPackage rec {
testpath
];
disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7ffff54954e0>
"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;