circuitpython/tests/basics/is_isnot.py
Damien George 025e4b6fbc tests/basics: Split out literal tests that raise SyntaxWarning on CPy.
Fixes issue #7330.

Signed-off-by: Damien George <damien@micropython.org>
2021-05-30 13:41:37 +10:00

5 lines
55 B
Python

print([1, 2] is [1, 2])
a = [1, 2]
b = a
print(b is a)