summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/bytes_compare2.py
blob: 4d5de21d2110fce8c95f561f9c81b79c99779bf0 (plain) (blame)
1
2
3
4
5
print(b"1" == 1)
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")