From 1372824ab9a47b4ce9619fabb352fe77d9fb01ca Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Fri, 21 Feb 2014 17:28:02 +0100 Subject: [PATCH] Fix skip reason --- xbob/io/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbob/io/test_utils.py b/xbob/io/test_utils.py index f8e996b..acb20d2 100644 --- a/xbob/io/test_utils.py +++ b/xbob/io/test_utils.py @@ -108,7 +108,7 @@ def ffmpeg_found(version_geq=None): if version_geq is not None: avcodec_req,avformat_req,avutil_req = ffmpeg_versions[version_geq] if avcodec_inst < avcodec_req: - raise nose.plugins.skip.SkipTest('FFMpeg/libav version installed (%s) is smaller than required for this test (%s)' % (version['FFmpeg']['ffmpeg'], version_geq)) + raise nose.plugins.skip.SkipTest('FFMpeg/libav version installed (%s) is smaller than required for this test (%s)' % (versions['FFmpeg']['ffmpeg'], version_geq)) return test(*args, **kwargs) except KeyError: raise nose.plugins.skip.SkipTest('FFMpeg was not available at compile time') -- GitLab