mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-21 13:01:14 +08:00
test/run.py should be runnable from everywhere.
This commit is contained in:
@@ -344,7 +344,9 @@ if __name__ == '__main__':
|
|||||||
last = arg
|
last = arg
|
||||||
|
|
||||||
# completion tests:
|
# 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 = []
|
summary = []
|
||||||
tests_fail = 0
|
tests_fail = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user