python313Packages.nbformat: disable failing tests

This commit is contained in:
Martin Weinelt 2024-11-13 21:33:26 +01:00
parent e6dea5c44c
commit 5690819d80
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,7 @@
{
lib,
buildPythonPackage,
pythonAtLeast,
pythonOlder,
fetchPypi,
hatchling,
@ -45,6 +46,14 @@ 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"
];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;