mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 14:54:47 +08:00
Test both named params are found
This commit is contained in:
@@ -34,8 +34,9 @@ d1 = datetime.now()
|
|||||||
d2 = datetime.now()
|
d2 = datetime.now()
|
||||||
''', [(2, 14), (3, 14)]),
|
''', [(2, 14), (3, 14)]),
|
||||||
('''from jedi import Script
|
('''from jedi import Script
|
||||||
Script(code='')
|
s1 = Script(code='')
|
||||||
''', [(2, 7)])
|
s2 = Script(code='')
|
||||||
|
''', [(2, 12), (3, 12)])
|
||||||
])
|
])
|
||||||
def test_references_scope(Script, code, places):
|
def test_references_scope(Script, code, places):
|
||||||
if not code:
|
if not code:
|
||||||
|
|||||||
Reference in New Issue
Block a user