mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Get rid of cwd modifications in tests
This commit is contained in:
@@ -16,8 +16,10 @@ import os
|
||||
import pytest
|
||||
from os.path import abspath, dirname, join
|
||||
from functools import partial, wraps
|
||||
from jedi import Project
|
||||
|
||||
test_dir = dirname(abspath(__file__))
|
||||
test_dir_project = Project(test_dir)
|
||||
root_dir = dirname(test_dir)
|
||||
example_dir = join(test_dir, 'examples')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user