Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Commit 19e488c

Browse files
committed
bytes literals for PY3
1 parent e0fd89c commit 19e488c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root_numpy/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ def test_array2tree():
728728

729729

730730
def test_array2tree_charstar():
731-
a = np.array(['', 'a', 'ab', 'abc', 'xyz', ''],
731+
a = np.array([b'', b'a', b'ab', b'abc', b'xyz', b''],
732732
dtype=[('string', 'S3')])
733733

734734
with temp() as tmp:

0 commit comments

Comments
 (0)