1
0
forked from VimPlug/jedi

Get a lot of tests passing

This commit is contained in:
Dave Halter
2017-11-26 17:48:00 +01:00
parent c266fb301b
commit e71f0062dd
17 changed files with 120 additions and 79 deletions

View File

@@ -50,12 +50,12 @@ def test_parse_function_doc_illegal_docstr():
assert ('', '') == compiled._parse_function_doc(docstr)
def test_doc():
def test_doc(evaluator):
"""
Even CompiledObject docs always return empty docstrings - not None, that's
just a Jedi API definition.
"""
obj = compiled.CompiledObject(_evaluator(), ''.__getnewargs__)
obj = compiled.create(evaluator, ''.__getnewargs__)
assert obj.py__doc__() == ''