Skip to content
Snippets Groups Projects
Commit 00c0b8a9 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Fix unstable case in builtin_id.py test.

parent 1d938c95
Branches
No related tags found
No related merge requests found
print(id(1) == id(2)) print(id(1) == id(2))
print(id(None) == id(None)) 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] l = [1, 2]
print(id(l) == id(l)) print(id(l) == id(l))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment