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

This commit is contained in:
Dave Halter committed 2016-12-06 18:18:53 +01:00
1 parent becf1027c0
commit c6248ae169
6 files changed
+15 -16

No files matched your search

+1 -1
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():