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 8bbcb9d commit 4ebbbe9Copy full SHA for 4ebbbe9
test/builtin/test_numericarray.py
@@ -30,22 +30,6 @@ def test_numericarray_expression_from_python_array():
30
assert atom.value is array
31
32
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
49
#
50
# WL tests
51
# Will not work yet
0 commit comments