Skip to content

Commit

Permalink
Update tests/cupy_tests/manipulation_tests/test_shape.py
Browse files Browse the repository at this point in the history
Co-authored-by: Toshiki Kataoka <tos.lunar@gmail.com>
  • Loading branch information
emcastillo and toslunar committed Nov 4, 2021
1 parent 0e62467 commit 93cfba6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/cupy_tests/manipulation_tests/test_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ def test_ravel_broadcasted(self, xp, order):
b = xp.broadcast_to(a, (10,))
assert not b.flags.c_contiguous and not b.flags.f_contiguous
b = b.ravel(order)
if order == 'C':
assert b.flags.c_contiguous
else:
assert b.flags.f_contiguous
assert b.flags.c_contiguous
return b

@testing.numpy_cupy_array_equal()
Expand Down

0 comments on commit 93cfba6

Please sign in to comment.