blob: 9198f3f6ea893f718852c289b669bb90c9153743 [file] [log] [blame]
with open('foo', 'wb') as fd:
fd.write(b'bar')
with open('foo', 'wb') as fd:
fd.write(<warning descr="Expected type 'bytes | bytearray', got 'str' instead">'bar'</warning>)