Skip to content

Commit c241eff

Browse files
committed
fix tests
1 parent 378cffb commit c241eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tools/tests/test_hashing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ def test_hash_collisions(self):
165165

166166
# these should be different!
167167
result1 = hash_array(np.asarray(L[0:1], dtype=object), 'utf8')
168-
expected1 = np.array([1760245841805064774], dtype=np.uint64)
168+
expected1 = np.array([14963968704024874985], dtype=np.uint64)
169169
self.assert_numpy_array_equal(result1, expected1)
170170

171171
result2 = hash_array(np.asarray(L[1:2], dtype=object), 'utf8')
172-
expected2 = np.array([1760245841805064774], dtype=np.uint64)
172+
expected2 = np.array([16428432627716348016], dtype=np.uint64)
173173
self.assert_numpy_array_equal(result2, expected2)
174174

175175
result = hash_array(np.asarray(L, dtype=object), 'utf8')

0 commit comments

Comments
 (0)