diff --git a/tests/test_videoinfo.py b/tests/test_videoinfo.py index c60abbc..d1383f3 100644 --- a/tests/test_videoinfo.py +++ b/tests/test_videoinfo.py @@ -85,7 +85,7 @@ def test_pattern_unmatch(mocker): try: _ = VideoInfo('__test_id__') assert False - except PatternUnmatchError: + except JSONDecodeError: assert True