mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-03 22:06:42 +08:00
Some testing fixes that were broken with the few previous commits.
This commit is contained in:
1 parent
becf1027c0
commit
c6248ae169
6 files changed
+15
-16
No files matched your search
@@ -4,8 +4,8 @@ from jedi import Script
|
||||
|
||||
|
||||
def get_definition_and_evaluator(source):
|
||||
d = Script(dedent(source)).goto_definitions()[0]
|
||||
return d._name.parent_context, d._evaluator
|
||||
first, = Script(dedent(source)).goto_definitions()
|
||||
return first._name._context, first._evaluator
|
||||
|
||||
|
||||
def test_function_execution():
|
||||
|
||||
Reference in new issue
Block a user