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
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
@ -44,6 +45,11 @@ buildPythonPackage rec {
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
preCheck = ''
rm -v tests/ffmpeg/ffmpeg