Skip to content

Commit

Permalink
chore: update test of renamed assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kamlishgoswami committed Oct 12, 2023
1 parent 78dbc0e commit 9e1dcf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ivy_tests/test_ivy/test_misc/test_assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
check_shape,
check_shapes_broadcastable,
check_true,
check_unsorted_segment_min_valid_params,
check_unsorted_segment_valid_params,
)
from ivy.utils.assertions import _check_jax_x64_flag
import ivy
Expand Down Expand Up @@ -852,15 +852,15 @@ def test_check_true(expression):
(ivy.array([1, 2, 3]), ivy.array([0, 1, 0], dtype=ivy.int32), ivy.array([2])),
],
)
def test_check_unsorted_segment_min_valid_params(data, segment_ids, num_segments):
def test_check_unsorted_segment_valid_params(data, segment_ids, num_segments):
filename = "except_out.txt"
orig_stdout = sys.stdout

with open(filename, "w") as f:
sys.stdout = f
lines = ""
try:
check_unsorted_segment_min_valid_params(data, segment_ids, num_segments)
check_unsorted_segment_valid_params(data, segment_ids, num_segments)
local_vars = {**locals()}
except Exception as e:
local_vars = {**locals()}
Expand Down

0 comments on commit 9e1dcf6

Please sign in to comment.