Merge pull request #173073 from risicle/ris-seaborn-non-x86-test-precision

python3Packages.seaborn: skip overly-strict-precision tests on non-x86
This commit is contained in:
Robert Scott 2022-05-16 01:01:34 +01:00 committed by GitHub
commit fef077c328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, matplotlib
@ -33,16 +34,19 @@ buildPythonPackage rec {
];
disabledTests = [
# Tests fail because of AttributeError:...
# incompatible with matplotlib 3.5
"TestKDEPlotBivariate"
"TestBoxPlotter"
"TestCatPlot"
"TestKDEPlotUnivariate"
"test_with_rug"
"test_bivariate_kde_norm"
] ++ lib.optionals (!stdenv.hostPlatform.isx86) [
# overly strict float tolerances
"TestDendrogram"
];
pythonImportsCheck= [
pythonImportsCheck = [
"seaborn"
];