Skip to content

Commit

Permalink
Merge pull request #1205 from mgorny/pypy3-resize
Browse files Browse the repository at this point in the history
FIX: Pass `refcheck=False` to `np.ndarray.resize()` for PyPy compat
  • Loading branch information
avalentino authored Aug 14, 2024
2 parents 9cd629e + c04a456 commit 192749b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tables/tests/test_direct_chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _test_write_chunk_missing(self, shrink_after):
self.array.truncate(self.shape[0] - 1)

new_obj = self.obj.copy()
new_obj.resize(self.array.shape)
new_obj.resize(self.array.shape, refcheck=False)
obj_slice = tuple(slice(s, s + cs) for (s, cs)
in zip(chunk_start, self.chunkshape))
if not shrink_after:
Expand Down

0 comments on commit 192749b

Please sign in to comment.