Unverified Commit 86fc0532 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python38Packages.babel: Disable tests

Tests would require backports-zoneinfo, which yields an infinite
recursion via sphinx, hypothesis, argon2-cffi, autobahn, ....
parent d03d74aa
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, pythonOlder

# tests
, backports-zoneinfo
, freezegun
, pytestCheckHook
, pytz
@@ -27,14 +27,15 @@ buildPythonPackage rec {
    pytz
  ];

  # including backports.zoneinfo for python<3.9 yields infinite recursion
  doCheck = pythonAtLeast "3.9";

  nativeCheckInputs = [
    # via setup.py
    freezegun
    pytestCheckHook
    # via tox.ini
    pytz
  ] ++ lib.optionals (pythonOlder "3.9") [
    backports-zoneinfo
  ];

  disabledTests = [