Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell
This commit is contained in:
commit
2f3e4152b4
8 files changed
+173
-21
No files matched your search
@@ -19,12 +19,16 @@ def test_fake_loading():
|
||||
assert isinstance(compiled.create(next), Function)
|
||||
|
||||
string = compiled.builtin.get_subscope_by_name('str')
|
||||
from_name = compiled._create_from_name(compiled.builtin, string, '__init__')
|
||||
from_name = compiled._create_from_name(
|
||||
compiled.builtin,
|
||||
string,
|
||||
'__init__'
|
||||
)
|
||||
assert isinstance(from_name, Function)
|
||||
|
||||
|
||||
def test_fake_docstr():
|
||||
assert compiled.create(next).docstr == next.__doc__
|
||||
assert compiled.create(next).docstr.as_string() == next.__doc__
|
||||
|
||||
|
||||
def test_parse_function_doc_illegal_docstr():
|
||||
|
||||
Reference in new issue
Block a user