mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
python3Packages.urllib3: disable two tests that fail on aarch64
Use null workaround to avoid rebuild on other platforms.
This commit is contained in:
parent
4181409166
commit
2e0b261da8
@ -1,4 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, brotli
|
, brotli
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, certifi
|
, certifi
|
||||||
@ -46,6 +47,14 @@ buildPythonPackage rec {
|
|||||||
trustme
|
trustme
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = if stdenv.hostPlatform.isAarch64 then
|
||||||
|
[
|
||||||
|
"test_connection_closed_on_read_timeout_preload_false"
|
||||||
|
"test_ssl_failed_fingerprint_verification"
|
||||||
|
]
|
||||||
|
else
|
||||||
|
null;
|
||||||
|
|
||||||
pythonImportsCheck = [ "urllib3" ];
|
pythonImportsCheck = [ "urllib3" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user