python3Packages.pyqtgraph: skip tests failing on non-x86

This commit is contained in:
Robert Scott 2021-11-18 19:16:02 +00:00 committed by Jonathan Ringer
parent 01fd2714c6
commit ca0fd306e2

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, scipy
@ -52,6 +53,13 @@ buildPythonPackage rec {
export FONTCONFIG_FILE=${fontsConf}
'';
disabledTests = lib.optionals (!(stdenv.isi686 || stdenv.isx86_64)) [
# small precision-related differences on other architectures,
# upstream doesn't consider it serious.
# https://github.com/pyqtgraph/pyqtgraph/issues/2110
"test_PolyLineROI"
];
meta = with lib; {
description = "Scientific Graphics and GUI Library for Python";
homepage = "https://www.pyqtgraph.org/";