python311Packages.gmpy2: disable failing test on Darwin
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user