diff --git a/ffmpeg/tests/test_ffmpeg.py b/ffmpeg/tests/test_ffmpeg.py index 07c5c4b..ad32784 100644 --- a/ffmpeg/tests/test_ffmpeg.py +++ b/ffmpeg/tests/test_ffmpeg.py @@ -365,5 +365,5 @@ def test_ffprobe(): def test_ffprobe_exception(): with pytest.raises(ffmpeg.ProbeException) as excinfo: ffmpeg.probe(BOGUS_INPUT_FILE) - assert excinfo.value.message == 'ffprobe error' + assert str(excinfo.value) == 'ffprobe error' assert 'No such file or directory' in excinfo.value.stderr_output