Merge pull request #168820 from mweinelt/test-python3-requests-aarch64-darwin

python3Packages.requests: disable fatal tests on aarch64-darwin
This commit is contained in:
Martin Weinelt 2022-04-15 22:58:29 +02:00 committed by GitHub
commit ee8559c02c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = [