mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
fix a completion problem on docstrings
This commit is contained in:
@@ -459,6 +459,12 @@ class TestDocstring(TestBase):
|
||||
docs = [d.raw_doc for d in defs]
|
||||
self.assertEqual(docs, ['Original docstring.', 'Docstring of `x`.'])
|
||||
|
||||
def test_completion(self):
|
||||
assert self.completions('''
|
||||
class DocstringCompletion():
|
||||
#? []
|
||||
""" asdfas """''')
|
||||
|
||||
|
||||
class TestFeature(TestBase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user