python3Packages.pybind11: Disable failing test on darwin

This commit is contained in:
Martin Weinelt 2023-01-11 16:05:47 +01:00
parent 2895576165
commit 3758641dd4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -78,6 +78,12 @@ buildPythonPackage rec {
"tests/extra_setuptools/test_setuphelper.py"
];
disabledTests = lib.optionals (stdenv.isDarwin) [
# expects KeyError, gets RuntimeError
# https://github.com/pybind/pybind11/issues/4243
"test_cross_module_exception_translator"
];
meta = with lib; {
homepage = "https://github.com/pybind/pybind11";
changelog = "https://github.com/pybind/pybind11/blob/${src.rev}/docs/changelog.rst";