mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
skip thirdparty modules, if not available
This commit is contained in:
@@ -131,6 +131,7 @@ def test_dir(completion_test_dir, third_party=False):
|
||||
__import__(f_name.replace('.py', ''))
|
||||
except ImportError:
|
||||
summary.append('Thirdparty-Library %s not found.' % f_name)
|
||||
continue
|
||||
path = os.path.join(completion_test_dir, f_name)
|
||||
f = open(path)
|
||||
num_tests, fails = run_test(f.read())
|
||||
|
||||
Reference in New Issue
Block a user