mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Fix some code_lines issues
This commit is contained in:
@@ -165,7 +165,7 @@ def test_get_line_code(Script):
|
||||
# On custom code
|
||||
first_line = 'def foo():\n'
|
||||
line = ' foo'
|
||||
code = '%s%s' % (first_line, line)
|
||||
code = first_line + line
|
||||
assert get_line_code(code) == first_line
|
||||
|
||||
# With before/after
|
||||
|
||||
Reference in New Issue
Block a user