python311Packages.ffmpy: disable failing test

This commit is contained in:
Peder Bergebakken Sundt 2024-05-08 00:41:35 +02:00
parent 3b2b0da26e
commit 2585366ed6

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
@ -44,6 +45,11 @@ buildPythonPackage rec {
go go
]; ];
disabledTests = lib.optionals stdenv.isDarwin [
# expects a FFExecutableNotFoundError, gets a NotADirectoryError raised by os
"test_invalid_executable_path"
];
# the vendored ffmpeg mock binary assumes FHS # the vendored ffmpeg mock binary assumes FHS
preCheck = '' preCheck = ''
rm -v tests/ffmpeg/ffmpeg rm -v tests/ffmpeg/ffmpeg