Skip to content

Commit 58ac555

Browse files
committed
remove usage of np.unicode_ from asciidtype
1 parent 8ab07ef commit 58ac555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asciidtype/tests/test_asciidtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_casting_safety():
157157
def test_unicode_to_ascii_to_unicode():
158158
arr = np.array(["hello", "this", "is", "an", "array"])
159159
ascii_arr = arr.astype(ASCIIDType(5))
160-
for dtype in ["U5", np.unicode_, np.str_]:
160+
for dtype in ["U5", np.str_]:
161161
round_trip_arr = ascii_arr.astype(dtype)
162162
np.testing.assert_array_equal(arr, round_trip_arr)
163163

0 commit comments

Comments
 (0)