1
0
forked from VimPlug/jedi

Some test refactorings.

This commit is contained in:
Dave Halter
2016-12-03 14:32:00 +01:00
parent 69c23ac113
commit ee1f077014
7 changed files with 53 additions and 49 deletions

View File

@@ -121,7 +121,7 @@ class TokenTest(unittest.TestCase):
def test_tokenizer_with_string_literal_backslash():
import jedi
c = jedi.Script("statement = u'foo\\\n'; statement").goto_definitions()
assert c[0]._name.parent.obj == 'foo'
assert c[0]._name.parent_context.obj == 'foo'
def test_ur_literals():