1# Based on MicroPython config option, comparison of str and bytes
2# or vice versa may issue a runtime warning. On CPython, if run as
3# "python3 -b", only comparison of str to bytes issues a warning,
4# not the other way around (while exactly comparison of bytes to
5# str would be the most common error, as in sock.recv(3) == "GET").
6# Update: the issue above with CPython apparently happens in REPL,
7# when run as a script, both lines issue a warning.
8print("123" == b"123")
9print(b"123" == "123")
10