mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-05 03:22:51 +08:00
A lot more fixes - fix all evaluate integration tests.
This commit is contained in:
1 parent
ee1f077014
commit
6940900c58
10 files changed
+91
-53
No files matched your search
@@ -97,7 +97,7 @@ def test_not_importable_file():
|
||||
def test_import_unique():
|
||||
src = "import os; os.path"
|
||||
defs = jedi.Script(src, path='example.py').goto_definitions()
|
||||
defs = [d._definition for d in defs]
|
||||
defs = [d._name.parent_context for d in defs]
|
||||
assert len(defs) == len(set(defs))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user