fixed a problem with classes in docstrings

This commit is contained in:
David Halter
2013-08-31 11:32:35 +04:30
parent b68e3cc8de
commit 5267e13e0a
2 changed files with 16 additions and 8 deletions

View File

@@ -27,6 +27,9 @@ class Two(Abc):
def test_class_in_docstr():
"""
Regression test for a problem with classes in docstrings.
"""
a = '"\nclasses\n"'
jedi.Script(a, 1, 0)._parser