Skip to content

Commit

Permalink
fix: fix available dtypes in frontend tests for torch.tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksondm33 committed Apr 13, 2024
1 parent b600b09 commit 6511429
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ivy_tests/test_ivy/test_frontends/test_torch/test_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ def test_torch___add__(
init_tree="torch.tensor",
method_name="__and__",
dtype_and_x=helpers.dtype_and_values(
available_dtypes=st.one_of(st.just(("bool",)), helpers.get_dtypes("integer")),
available_dtypes=st.one_of(
helpers.get_dtypes("bool"), helpers.get_dtypes("integer")
),
num_arrays=2,
min_value=-1e04,
max_value=1e04,
Expand Down Expand Up @@ -773,7 +775,9 @@ def test_torch___gt__(
init_tree="torch.tensor",
method_name="__iand__",
dtype_and_x=helpers.dtype_and_values(
available_dtypes=st.one_of(st.just(("bool",)), helpers.get_dtypes("integer")),
available_dtypes=st.one_of(
helpers.get_dtypes("bool"), helpers.get_dtypes("integer")
),
num_arrays=2,
min_value=-1e04,
max_value=1e04,
Expand Down

0 comments on commit 6511429

Please sign in to comment.