You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
Fix unstable case in builtin_id.py test.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
print(id(1) == id(2))
|
||||
print(id(None) == id(None))
|
||||
print(id([]) == id([]))
|
||||
# This can't be true per Python semantics, just CPython implementation detail
|
||||
#print(id([]) == id([]))
|
||||
|
||||
l = [1, 2]
|
||||
print(id(l) == id(l))
|
||||
|
||||
Reference in New Issue
Block a user