Skip to content

Commit 3865229

Browse files
committed
fix categorize warnings
1 parent ee4a515 commit 3865229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zarr/tests/test_filters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def test_array_with_packbits_filter():
169169
def test_array_with_categorize_filter():
170170

171171
# setup
172-
data = np.random.choice([b'foo', b'bar', b'baz'], size=100)
173-
flt = Categorize(dtype=data.dtype, labels=['foo', 'bar', 'baz'])
172+
data = np.random.choice([u'foo', u'bar', u'baz'], size=100)
173+
flt = Categorize(dtype=data.dtype, labels=[u'foo', u'bar', u'baz'])
174174
filters = [flt]
175175

176176
for compressor in compressors:

0 commit comments

Comments
 (0)