Split Python unbound variable tests into separate test cases (CR-PY-5855)

This commit is contained in:
Andrey Vlasovskikh
2013-02-15 22:46:20 +04:00
parent 377ea4f431
commit 7ebf23490f
35 changed files with 432 additions and 68 deletions
@@ -0,0 +1,11 @@
class C(object):
pass
class D(object):
def f(self):
def g(x):
x = C()
x.y = 1 #pass
return x
return g