mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Hopefully fix a Windows issue
This commit is contained in:
@@ -324,12 +324,13 @@ def test_compiled_import_none(monkeypatch, Script):
|
||||
# context that was initially given, but now we just work with the file
|
||||
# system.
|
||||
(os.path.join(THIS_DIR, 'test_docstring.py'), False,
|
||||
('test', 'test_inference', 'test_imports')),
|
||||
('test_inference', 'test_imports')),
|
||||
(os.path.join(THIS_DIR, '__init__.py'), True,
|
||||
('test', 'test_inference', 'test_imports')),
|
||||
('test_inference', 'test_imports')),
|
||||
]
|
||||
)
|
||||
def test_get_modules_containing_name(inference_state, path, goal, is_package):
|
||||
inference_state.project = Project(test_dir)
|
||||
module = imports._load_python_module(
|
||||
inference_state,
|
||||
FileIO(path),
|
||||
|
||||
Reference in New Issue
Block a user