Skip to content

Commit

Permalink
Fix fileio backend ut
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzaida committed Feb 19, 2024
1 parent 4df682b commit 5dce657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_fileio/test_fileclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def test_petrel_backend(self, backend, prefix):

# input path is Path object
img_bytes = petrel_backend.get(self.img_path)
print(f'img_bytes: {img_bytes}')
img = imfrombytes(img_bytes)
assert img.shape == self.img_shape
# input path is str
Expand Down

0 comments on commit 5dce657

Please sign in to comment.