forked from VimPlug/jedi
Some test refactorings.
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user