Skip to content

Commit

Permalink
fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey committed May 6, 2024
1 parent 0aa181e commit 48cde27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion h5pyd/_hl/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ def copyElement(e, dt, buffer, offset, vlen=None):
e_buf = e.tobytes()
if len(e_buf) < dt.itemsize:
# extend the buffer for fixed size strings
# print("extending buffer to {}".format(dt.itemsize))
e_buf_ex = bytearray(dt.itemsize)
for i in range(len(e_buf)):
e_buf_ex[i] = e_buf[i]
Expand Down
2 changes: 1 addition & 1 deletion test/hl/test_vlentype.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def test_variable_len_float_dset(self):
# write data
# In this case, data is a ndarray of ndarrays
if isinstance(dset.id.id, str):
# and this is failing on h5py because h5py is try to
# and this is failing on h5py because h5py is try to
# broadcast (2,3) to (2,)
dset[...] = data
else:
Expand Down

0 comments on commit 48cde27

Please sign in to comment.