aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ytdl.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-09-07 18:33:25 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-09-07 18:33:25 -0400
commit05335f2b4f60f6948edc96c71a7ef1c3ca71c9b3 (patch)
tree2c455afb2e2fcd51788500ce8a3455a1ef659b0e /test/test_ytdl.py
parentc45c7a86c313075d1fbd5803e7efdda680b27cd7 (diff)
parent1f3ffe32342852fd9ea9e7704022488f3a1222bd (diff)
Update upstream source from tag 'upstream/1.27.4'
Update to upstream version '1.27.4' with Debian dir 9c7b608ab0b9fa99a0cd692418a8f3965bf3d1c3
Diffstat (limited to 'test/test_ytdl.py')
-rw-r--r--test/test_ytdl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ytdl.py b/test/test_ytdl.py
index fd2e40a..f7eb671 100644
--- a/test/test_ytdl.py
+++ b/test/test_ytdl.py
@@ -22,7 +22,7 @@ class Test_CommandlineArguments(unittest.TestCase):
def setUpClass(cls):
try:
cls.module = __import__(cls.module_name)
- except ImportError:
+ except (ImportError, SyntaxError):
raise unittest.SkipTest("cannot import module '{}'".format(
cls.module_name))
cls.default = ytdl.parse_command_line(cls.module, [])