mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-23 13:51:27 +08:00
provide test for #298
This commit is contained in:
13
test/test_builtin.py
Normal file
13
test/test_builtin.py
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
from jedi import builtin
|
||||||
|
|
||||||
|
|
||||||
|
def test_parse_function_doc_illegal_docstr():
|
||||||
|
|
||||||
|
def test_func(a):
|
||||||
|
"""
|
||||||
|
test_func(o
|
||||||
|
|
||||||
|
doesn't have a closing bracket.
|
||||||
|
"""
|
||||||
|
|
||||||
|
assert ('', '') == builtin._parse_function_doc(test_func)
|
||||||
Reference in New Issue
Block a user