mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-21 21:11:13 +08:00
Quite a few fixes to be eventually able to use NameParts as Definition inputs.
This commit is contained in:
@@ -26,4 +26,4 @@ asdfasdf""" + "h"
|
||||
def test_tokenizer_with_string_literal_backslash():
|
||||
import jedi
|
||||
c = jedi.Script("statement = u'foo\\\n'; statement").goto_definitions()
|
||||
assert c[0]._definition.obj == 'foo'
|
||||
assert c[0]._definition.parent.parent.obj == 'foo'
|
||||
|
||||
Reference in New Issue
Block a user