Merge pull request #309964 from pbsds/fix-ffmpy-1715121550

python311Packages.ffmpy: disable failing test
This commit is contained in:
Weijia Wang 2024-05-08 17:04:36 +02:00 committed by GitHub
commit 3632293f66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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