mirror of
https://github.com/davidhalter/jedi.git
synced 2026-07-10 19:16:30 +08:00
Change a few tests to match new typeshed
This commit is contained in:
@@ -60,7 +60,7 @@ def test_instance_doc(Script):
|
||||
'''Docstring of `TestClass`.'''
|
||||
tc = TestClass()
|
||||
tc""").infer()
|
||||
assert defs[0].docstring() == 'Docstring of `TestClass`.'
|
||||
assert defs[0].docstring() == 'TestClass()\n\nDocstring of `TestClass`.'
|
||||
|
||||
|
||||
def test_multiple_docstrings(Script):
|
||||
|
||||
Reference in New Issue
Block a user