mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-18 07:51:25 +08:00
parent_value -> parent_context
This commit is contained in:
1 parent
2e90e3b2b1
commit
600272366f
25 files changed
+181
-181
No files matched your search
@@ -156,8 +156,8 @@ def test_not_importable_file(Script):
|
||||
def test_import_unique(Script):
|
||||
src = "import os; os.path"
|
||||
defs = Script(src, path='example.py').goto_definitions()
|
||||
parent_values = [d._name._value for d in defs]
|
||||
assert len(parent_values) == len(set(parent_values))
|
||||
parent_contexts = [d._name._value for d in defs]
|
||||
assert len(parent_contexts) == len(set(parent_contexts))
|
||||
|
||||
|
||||
def test_cache_works_with_sys_path_param(Script, tmpdir):
|
||||
|
||||
Reference in new issue
Block a user