tests/logical_attr.py | raw changeset files shortlog |
1.1 --- a/tests/logical_attr.py Sat Nov 25 03:07:54 2006 +0100 1.2 +++ b/tests/logical_attr.py Sun Nov 26 15:45:53 2006 +0100 1.3 @@ -9,4 +9,9 @@ 1.4 class D(X): 1.5 y = True 1.6 a = X() and Y() or B() and not C() or D() 1.7 -b = a.x and a.y or a.b and not a.c 1.8 +if a: 1.9 + b = a.x and a.y or a.b and not a.c 1.10 + c = a 1.11 +else: 1.12 + d = a 1.13 +e = a