Skip to content

Commit

Permalink
add comment to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arogozhnikov committed Nov 9, 2022
1 parent 48da99a commit c51dcd0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import numpy as np
import pytest

from einops import EinopsError, asnumpy, pack, unpack
from tests import collect_test_backends

Expand Down Expand Up @@ -269,4 +270,8 @@ def test_pack_unpack_against_numpy():
unpack_and_pack(x, [[-1], [5], [0]], pattern)

# -1 takes zero, -1
unpack_and_pack(x, [[2, -1], [1, 5]], pattern)
unpack_and_pack(x, [[2, -1], [1, 5]], pattern)


# NB there is no testing for symbolic backends
# because mxnet symbols do not allow slicing with [...]

0 comments on commit c51dcd0

Please sign in to comment.