also add a test for class execution, which still fails due to another bug, that has been (almost) fixed lately, fixes #305

This commit is contained in:
David Halter
2013-09-06 15:09:12 +04:30
parent fcc6c4d811
commit d216ab331a

View File

@@ -76,11 +76,20 @@ c
#! 0 ['def c']
c()
class BeforeAssignment():
class ClassVar():
x = 3
#! 18 ['x = 3']
BeforeAssignment.x = ''
#! ['x = 3']
ClassVar.x
#! ['x = 3']
ClassVar().x
# before assignments
#! 10 ['x = 3']
ClassVar.x = ''
#! 12 ['x = 3']
ClassVar().x = ''
# -----------------
# imports