python3Packages.pymoo: disable failing python 3.12 test on Darwin
This commit is contained in:
committed by
Gaetan Lepage
parent
a4b138f160
commit
6897052221
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
@@ -114,10 +115,16 @@ buildPythonPackage rec {
|
||||
# AttributeError: 'ZDT3' object has no attribute 'elementwise'
|
||||
"test_kktpm_correctness"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# sensitive to float precision
|
||||
"tests/algorithms/test_no_modfication.py"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# sensitive to float precision
|
||||
"tests/misc/test_kktpm.py::test_kktpm_correctness[zdt3-params3]"
|
||||
];
|
||||
|
||||
# Avoid crashing sandboxed build on macOS
|
||||
env.MATPLOTLIBRC = writeText "" ''
|
||||
backend: Agg
|
||||
|
||||
Reference in New Issue
Block a user