python311Packages.gmpy2: disable failing test on Darwin

This commit is contained in:
TomaSajt
2024-05-22 21:56:34 +02:00
parent 983f51fc85
commit b2ab986512
@@ -51,11 +51,17 @@ buildPythonPackage rec {
mpmath
];
disabledTests = lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# issue with some overflow logic
"test_mpz_to_bytes"
"test_mpz_from_bytes"
];
disabledTests =
lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# issue with some overflow logic
"test_mpz_to_bytes"
"test_mpz_from_bytes"
]
++ lib.optionals stdenv.isDarwin [
# TypeError: mpq() requires numeric or string argument
# not sure why it only fails on Darwin
"test_mpq_from_Decimal"
];
pythonImportsCheck = [ "gmpy2" ];