From 02827b174e94d471142c66db0b213e98bcecf903 Mon Sep 17 00:00:00 2001 From: taizan-hokouto <55448286+taizan-hokuto@users.noreply.github.com> Date: Tue, 3 Nov 2020 18:13:09 +0900 Subject: [PATCH] Update tests --- tests/test_videoinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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