python3Packages.urllib3: disable two tests that fail on aarch64

Use null workaround to avoid rebuild on other platforms.
This commit is contained in:
Frederik Rietdijk 2021-03-13 10:44:31 +01:00
parent 4181409166
commit 2e0b261da8

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, brotli
, buildPythonPackage
, certifi
@ -46,6 +47,14 @@ buildPythonPackage rec {
trustme
];
disabledTests = if stdenv.hostPlatform.isAarch64 then
[
"test_connection_closed_on_read_timeout_preload_false"
"test_ssl_failed_fingerprint_verification"
]
else
null;
pythonImportsCheck = [ "urllib3" ];
meta = with lib; {