Skip to content

Commit f1be356

Browse files
Renamed the test and commented out steps other than those failing
1 parent 3c32158 commit f1be356

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
run: |
227227
. $CONDA/etc/profile.d/conda.sh
228228
conda activate ${{ env.TEST_ENV_NAME }}
229-
python -m pytest -s -v --pyargs $MODULE_NAME.tests.test_usm_ndarray_manipulation::test_roll_out_bounds_shifts
229+
python -m pytest -s -v --pyargs $MODULE_NAME.tests.test_usm_ndarray_manipulation::test_roll_out_of_bound_shifts
230230
- name: Run tests
231231
working-directory: ${{ github.workspace }}/test_tmp
232232
env:

dpctl/tests/test_usm_ndarray_manipulation.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -657,28 +657,28 @@ def test_roll_2d(data):
657657
assert_array_equal(Ynp, dpt.asnumpy(Y))
658658

659659

660-
def test_roll_out_bounds_shifts():
660+
def test_roll_out_of_bound_shifts():
661661
"See gh-1857"
662662
get_queue_or_skip()
663663

664664
x = dpt.arange(4)
665-
y = dpt.roll(x, np.uint64(2**63 + 2))
666-
expected = dpt.roll(x, 2)
667-
assert dpt.all(y == expected)
665+
# y = dpt.roll(x, np.uint64(2**63 + 2))
666+
# expected = dpt.roll(x, 2)
667+
# assert dpt.all(y == expected)
668668

669-
x_empty = x[1:1]
670-
y = dpt.roll(x_empty, 11)
671-
assert y.size == 0
669+
# x_empty = x[1:1]
670+
# y = dpt.roll(x_empty, 11)
671+
# assert y.size == 0
672672

673673
x_2d = dpt.reshape(x, (2, 2))
674674
y = dpt.roll(x_2d, np.uint64(2**63 + 1), axis=1)
675675
expected = dpt.roll(x_2d, 1, axis=1)
676676
assert dpt.all(y == expected)
677677

678-
x_2d_empty = x_2d[:, 1:1]
679-
y = dpt.roll(x_2d_empty, 3, axis=1)
680-
expected = dpt.empty_like(x_2d_empty)
681-
assert dpt.all(y == expected)
678+
# x_2d_empty = x_2d[:, 1:1]
679+
# y = dpt.roll(x_2d_empty, 3, axis=1)
680+
# expected = dpt.empty_like(x_2d_empty)
681+
# assert dpt.all(y == expected)
682682

683683

684684
def test_roll_validation():

0 commit comments

Comments
 (0)