Skip to content

Commit 4ebbbe9

Browse files
committed
Remove test invalidated by change to hash
1 parent 8bbcb9d commit 4ebbbe9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/builtin/test_numericarray.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@ def test_numericarray_expression_from_python_array():
3030
assert atom.value is array
3131

3232

33-
def test_numericarray_hash():
34-
a = [[1, 2], [3, 4]]
35-
array1a = np.array(a, dtype=np.float32)
36-
atom1a = from_python(array1a)
37-
array1b = np.array(a, dtype=np.float32)
38-
atom1b = from_python(array1a)
39-
array2 = np.array(a, dtype=np.float64)
40-
atom2 = from_python(array2)
41-
assert hash(atom1a) == hash(
42-
atom1b
43-
), "hashes of different arrays with same value should be same"
44-
assert hash(atom1a) != hash(
45-
atom2
46-
), "hashes of arrays with different values should be different"
47-
48-
4933
#
5034
# WL tests
5135
# Will not work yet

0 commit comments

Comments
 (0)