Commit 8408e07d authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.logutils: disable failing tests on Python 3.13

parent cd84730a
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -4,9 +4,10 @@
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  redis,
  redis-server,
  redis,
  setuptools,
}:

@@ -41,9 +42,13 @@ buildPythonPackage rec {
    "test_hashandlers"
  ];

  disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [
  disabledTestPaths =
    lib.optionals (stdenv.hostPlatform.isDarwin) [
      # Exception: unable to connect to Redis server
      "tests/test_redis.py"
    ]
    ++ lib.optionals (pythonAtLeast "3.13") [
      "tests/test_dictconfig.py"
    ];

  pythonImportsCheck = [ "logutils" ];