Refactor Evaluator.wrap to use the types in a more consequent way.

This commit is contained in:
Dave Halter
2016-06-29 21:06:35 +02:00
parent a3b263a599
commit 689284c615
5 changed files with 19 additions and 10 deletions

View File

@@ -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'