python3Packages.nbformat: ignore unraisable exceptions during tests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user