fix a completion problem on docstrings

This commit is contained in:
David Halter
2013-07-17 16:48:50 +02:00
parent 8490b1d0ff
commit b6e9f16a01
2 changed files with 8 additions and 3 deletions

View File

@@ -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):