We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b555876 commit 584ac53Copy full SHA for 584ac53
graalpython/com.oracle.graal.python.test/src/tests/test_array.py
@@ -85,3 +85,14 @@ def test_add():
85
else:
86
assert False
87
88
+
89
+def test_add_int_to_long_storage():
90
+ x = [2147483648, 1]
91
+ x[0] = 42 # should not raise
92
+ assert x[0] == 42
93
94
+def test_add_int_to_long_array():
95
+ from array import array
96
+ y = array('l', [1, 2])
97
+ y[0] = 42 # should not raise
98
+ assert y[0] == 42
0 commit comments