summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/bytes_compare_bytearray.py
blob: 6a8d8b8a51466e2c8df9af74b327e79c0df40b9e (plain) (blame)
1
2
3
4
print(b"123" == bytearray(b"123"))
print(b'123' < bytearray(b"124"))
print(b'123' > bytearray(b"122"))
print(bytearray(b"23") in b"1234")