Fixed broken test case.

This commit is contained in:
Eric Traut 2019-05-05 12:39:19 -07:00
parent 183584dc66
commit d7b4beac37

View File

@ -7,8 +7,10 @@ class Foo:
def bar(self):
return
a: Optional[Foo] = None
b: Optional[Foo] = None
maybe = True
a = None if maybe else Foo()
b = None if maybe else Foo()
if not a or not b:
a.bar()