diff options
| author | 2024-09-07 18:33:19 -0400 | |
|---|---|---|
| committer | 2024-09-07 18:33:19 -0400 | |
| commit | 1f3ffe32342852fd9ea9e7704022488f3a1222bd (patch) | |
| tree | cb255a091b73e96840de0f6f44b36dff1acab4b9 /test/test_ytdl.py | |
| parent | b5e56c51e491b41f9eb6a895459c185788a377e5 (diff) | |
New upstream version 1.27.4.upstream/1.27.4
Diffstat (limited to 'test/test_ytdl.py')
| -rw-r--r-- | test/test_ytdl.py | 2 |
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, []) |
