Fix unstable case in builtin_id.py test.
This commit is contained in:
parent
1d938c9503
commit
00c0b8a989
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user