mirror of
https://github.com/micropython/micropython.git
synced 2025-08-27 13:00:36 +02: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