pypy3Packages.hypothesis: Fix tests by providing tzdata

This commit is contained in:
Martin Weinelt 2023-04-06 16:58:04 +02:00
parent 0e3b6c5634
commit 57c8befec1

View file

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, isPyPy
, fetchFromGitHub
, attrs
, exceptiongroup
@ -13,6 +14,7 @@
, sphinx-rtd-theme
, sphinx-hoverxref
, sphinx-codeautolink
, tzdata
# Used to break internal dependency loop.
, enableDocumentation ? true
}:
@ -65,6 +67,8 @@ buildPythonPackage rec {
pexpect
pytest-xdist
pytestCheckHook
] ++ lib.optionals (isPyPy) [
tzdata
];
inherit doCheck;