Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Aug 24, 2021
1 parent 70d5433 commit 11f40b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_1072-test-v2-sort.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,9 @@


def test_numpyarray_sort1():
v1_array = ak.from_numpy(np.array([3.3, 2.2, 1.1, 5.5, 4.4]), regulararray=True, highlevel=False)
v1_array = ak.from_numpy(
np.array([3.3, 2.2, 1.1, 5.5, 4.4]), regulararray=True, highlevel=False
)
v2_array = v1_to_v2(v1_array)
assert ak.to_list(np.sort(v2_array, -1)) == [
1.1,
@@ -20,6 +22,7 @@ def test_numpyarray_sort1():
5.5,
]


# def test_listoffsetarray_sort1():
# v1_array = ak.from_iter(
# [[3.3, 2.2, 1.1], [], [5.5, 4.4], [6.6], [9.9, 7.7, 8.8, 10.1]], highlevel=False

0 comments on commit 11f40b9

Please sign in to comment.