mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Refactor Evaluator.wrap to use the types in a more consequent way.
This commit is contained in:
@@ -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