python311Packages.av: disable crashing tests on darwin

This commit is contained in:
Martin Weinelt 2023-11-21 14:51:03 +01:00
parent 08c47e8d91
commit bad9e11066

View file

@ -2,6 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
, stdenv
# build # build
, cython , cython
@ -101,6 +102,10 @@ buildPythonPackage rec {
"--deselect=tests/test_subtitles.py::TestSubtitle::test_movtext" "--deselect=tests/test_subtitles.py::TestSubtitle::test_movtext"
"--deselect=tests/test_subtitles.py::TestSubtitle::test_vobsub" "--deselect=tests/test_subtitles.py::TestSubtitle::test_vobsub"
"--deselect=tests/test_videoframe.py::TestVideoFrameImage::test_roundtrip" "--deselect=tests/test_videoframe.py::TestVideoFrameImage::test_roundtrip"
] ++ lib.optionals (stdenv.isDarwin) [
# Segmentation Faults
"--deselect=tests/test_encode.py::TestBasicVideoEncoding::test_encoding_with_pts"
"--deselect=tests/test_pyav.py::test_bayer_write"
]; ];
disabledTests = [ disabledTests = [