0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.fastnumbers: disable tests on ARM

This commit is contained in:
Ben Siraphob 2022-02-08 11:00:36 -06:00
parent 78f6b5cb05
commit 1fc7d47cb4
No known key found for this signature in database
GPG key ID: 45F0E5D788143267

View file

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fastnumbers , fastnumbers
, fetchFromGitHub , fetchFromGitHub
@ -26,6 +27,10 @@ buildPythonPackage rec {
typing-extensions typing-extensions
]; ];
# Tests fail due to numeric precision differences on ARM
# See https://github.com/SethMMorton/fastnumbers/issues/28
doCheck = !(stdenv.isAarch64 || stdenv.isAarch32);
checkInputs = [ checkInputs = [
hypothesis hypothesis
pytestCheckHook pytestCheckHook