add test of #183

This commit is contained in:
David Halter
2013-05-03 15:16:09 +04:30
parent c37515f938
commit fd4eb5f0a6

View File

@@ -544,3 +544,23 @@ class TestSuper(Super):
def a():
#?
super()
# -----------------
# if flow at class level
# -----------------
class TestX(object):
def normal_method(self):
return 1
if True:
def conditional_method(self):
var = self.normal_method()
#? int()
var
return 2
def other_method(self):
var = self.conditional_method()
#? int()
var