mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-20 20:41:13 +08:00
test/run.py should be runnable from everywhere.
This commit is contained in:
@@ -344,7 +344,9 @@ if __name__ == '__main__':
|
||||
last = arg
|
||||
|
||||
# completion tests:
|
||||
completion_test_dir = '../test/completion'
|
||||
dir = os.path.dirname(os.path.realpath(__file__))
|
||||
completion_test_dir = os.path.join(dir, '../test/completion')
|
||||
completion_test_dir = os.path.abspath(completion_test_dir)
|
||||
summary = []
|
||||
tests_fail = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user