Some testing fixes that were broken with the few previous commits.

This commit is contained in:
Dave Halter
2016-12-06 18:18:53 +01:00
parent becf1027c0
commit c6248ae169
6 changed files with 15 additions and 16 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_context.obj == 'foo'
assert c[0]._name._context.obj == 'foo'
def test_ur_literals():