Skip to content

Commit 0f41320

Browse files
committed
remove string id constancy test - we don't support this in the is expression, either
1 parent ebbd22d commit 0f41320

File tree

1 file changed

+0
-7
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests

1 file changed

+0
-7
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_id.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ def test_small_int_id_is_constant():
4444
assert id(x) == id(y) == id(128)
4545

4646

47-
def test_string_id_is_constant():
48-
assert id("str") == id("str")
49-
x = "str"
50-
y = "str"
51-
assert id(x) == id(y) == id("str")
52-
53-
5447
def test_object_id_is_constant():
5548
x = object()
5649
xid = id(x)

0 commit comments

Comments
 (0)