mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-28 17:33:19 +08:00
More fixes for ExprStmt docstrings.
This commit is contained in:
1 parent
40e61fc96d
commit
1ce96f2581
2 files changed
+9
-3
No files matched your search
@@ -129,6 +129,11 @@ def test_completion_docstring():
|
||||
docstr('import jedi\njedi.Scr', cleandoc(Script.__doc__))
|
||||
|
||||
docstr('abcd=3;abcd', '')
|
||||
docstr('"hello"\nabcd=3\nabcd', 'hello')
|
||||
# It works with a ; as well.
|
||||
docstr('"hello"\nabcd=3;abcd', 'hello')
|
||||
# Shouldn't work with a tuple.
|
||||
docstr('"hello",0\nabcd=3\nabcd', '')
|
||||
|
||||
|
||||
def test_completion_params():
|
||||
|
||||
Reference in new issue
Block a user