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

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

No files matched your search

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