Skip to content

Commit

Permalink
Fix char add
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Jun 19, 2023
1 parent 81dfda8 commit 7797a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_combine_batches():
)
assert np.all(Y.index == np.array([i[:-2] for i in Y2.index]))
assert np.all(
np.core.defchararray.add("_", sample_labels.astype(str))
"_" + sample_labels.astype(str)
== np.array([i[-2:] for i in Y2.index], dtype=str)
)
assert np.all(sample_labels.index == Y2.index)
Expand Down

0 comments on commit 7797a01

Please sign in to comment.