mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +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', ''))
|
__import__(f_name.replace('.py', ''))
|
||||||
except ImportError:
|
except ImportError:
|
||||||
summary.append('Thirdparty-Library %s not found.' % f_name)
|
summary.append('Thirdparty-Library %s not found.' % f_name)
|
||||||
|
continue
|
||||||
path = os.path.join(completion_test_dir, f_name)
|
path = os.path.join(completion_test_dir, f_name)
|
||||||
f = open(path)
|
f = open(path)
|
||||||
num_tests, fails = run_test(f.read())
|
num_tests, fails = run_test(f.read())
|
||||||
|
|||||||
Reference in New Issue
Block a user