mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 07:35:47 +08:00
Refactor Evaluator.wrap to use the types in a more consequent way.
This commit is contained in:
1 parent
a3b263a599
commit
689284c615
5 files changed
+19
-10
No files matched your search
@@ -34,7 +34,6 @@ def test_builtin_details():
|
||||
var = get_completion('variable', locals())
|
||||
f = get_completion('func', locals())
|
||||
m = get_completion('keyword', locals())
|
||||
print(cls._definition.type)
|
||||
assert cls.type == 'class'
|
||||
assert var.type == 'instance'
|
||||
assert f.type == 'function'
|
||||
|
||||
Reference in new issue
Block a user