@@ -246,24 +246,17 @@ def test_lookup_overflow(self, writable):
246
246
(ht .Float64HashTable , ht .Float64Vector , "float64" , False ),
247
247
(ht .Int64HashTable , ht .Int64Vector , "int64" , False ),
248
248
(ht .Int32HashTable , ht .Int32Vector , "int32" , False ),
249
- pytest .param (
250
- ht .UInt64HashTable ,
251
- ht .UInt64Vector ,
252
- "uint64" ,
253
- False ,
254
- marks = pytest .mark .xfail (
255
- reason = "Sometimes doesn't raise." ,
256
- strict = False ,
257
- ),
258
- ),
249
+ (ht .UInt64HashTable , ht .UInt64Vector , "uint64" , False ),
259
250
],
260
251
)
261
252
def test_vector_resize (
262
253
self , writable , htable , uniques , dtype , safely_resizes , nvals
263
254
):
264
255
# Test for memory errors after internal vector
265
256
# reallocations (GH 7157)
266
- vals = np .array (np .random .randn (1000 ), dtype = dtype )
257
+ # Changed from using np.random.rand to range
258
+ # which could cause flaky CI failures when safely_resizes=False
259
+ vals = np .array (range (1000 ), dtype = dtype )
267
260
268
261
# GH 21688 ensures we can deal with read-only memory views
269
262
vals .setflags (write = writable )
0 commit comments