python3Packages.requests: disable fatal tests on aarch64-darwin

This commit is contained in:
Martin Weinelt 2022-04-15 21:31:01 +02:00
parent 86d2ccf412
commit 9043d626c4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, brotli
, brotlicffi
, buildPythonPackage
@ -66,6 +67,15 @@ buildPythonPackage rec {
"test_use_proxy_from_environment"
"TestRequests"
"TestTimeout"
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
# Fatal Python error: Aborted
"test_basic_response"
"test_text_response"
];
disabledTestPaths = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
# Fatal Python error: Aborted
"tests/test_lowlevel.py"
];
pythonImportsCheck = [