Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix ffprobe exception test
  • Loading branch information
kkroening committed May 20, 2018
commit 940b05f3fcf46f60eb02ebdabb58289db033dfae
4 changes: 2 additions & 2 deletions ffmpeg/tests/test_ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def test_ffprobe():


def test_ffprobe_exception():
with pytest.raises(ffmpeg.ProbeException) as excinfo:
with pytest.raises(ffmpeg.Error) as excinfo:
ffmpeg.probe(BOGUS_INPUT_FILE)
assert str(excinfo.value) == 'ffprobe error'
assert b'No such file or directory' in excinfo.value.stderr_output
assert 'No such file or directory'.encode() in excinfo.value.stderr