Commit 00c0b8a9 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Fix unstable case in builtin_id.py test.

parent 1d938c95
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment