python3Packages.mpmath: skip failing test on x86_64-darwin (#522656)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gmpy2,
|
||||
@@ -46,6 +47,16 @@ buildPythonPackage (finalAttrs: {
|
||||
pexpect
|
||||
];
|
||||
|
||||
# Ugly hack to preserve the hash on non-`x86_64-darwin` platforms
|
||||
${if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64 then "disabledTests" else null} =
|
||||
[
|
||||
# Expected:
|
||||
# -0.5440211108893698
|
||||
# Got:
|
||||
# -0.5440211108893699
|
||||
"contexts.rst"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://mpmath.org/";
|
||||
description = "Pure-Python library for multiprecision floating arithmetic";
|
||||
|
||||
Reference in New Issue
Block a user