| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -491,7 +491,7 @@ def test_ffprobe(): | |||
| 491 | 491 | ||
| 492 | 492 | ||
| 493 | 493 | def test_ffprobe_exception(): | |
| 494 | - with pytest.raises(ffmpeg.ProbeException) as excinfo: | ||
| 494 | + with pytest.raises(ffmpeg.Error) as excinfo: | ||
| 495 | 495 | ffmpeg.probe(BOGUS_INPUT_FILE) | |
| 496 | 496 | assert str(excinfo.value) == 'ffprobe error' | |
| 497 | - assert b'No such file or directory' in excinfo.value.stderr_output | ||
| 497 | + assert 'No such file or directory'.encode() in excinfo.value.stderr | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments