fix a completion problem on docstrings
This commit is contained in:
1 parent
8490b1d0ff
commit
b6e9f16a01
2 files changed
+8
-3
No files matched your search
@@ -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