mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed broken test case.
This commit is contained in:
parent
183584dc66
commit
d7b4beac37
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user