Unverified Commit 5690819d authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python313Packages.nbformat: disable failing tests

parent e6dea5c4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  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;