1
0
forked from VimPlug/jedi

Quite a few fixes to be eventually able to use NameParts as Definition inputs.

This commit is contained in:
Dave Halter
2014-09-09 15:21:27 +02:00
parent 1199defabb
commit 45e033c50e
4 changed files with 19 additions and 15 deletions

View File

@@ -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'