Skip to content

Commit

Permalink
Rename condition to _condition in test_solve.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-perevezentsev committed Feb 1, 2024
1 parent 93534d7 commit 3b57f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/third_party/cupy/linalg_tests/test_solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
is_cpu_device,
)
from tests.third_party.cupy import testing
from tests.third_party.cupy.testing import condition
from tests.third_party.cupy.testing import _condition


@testing.parameterize(
Expand Down Expand Up @@ -104,7 +104,7 @@ def test_invalid_shape(self):
)
class TestInv(unittest.TestCase):
@testing.for_dtypes("ifdFD")
@condition.retry(10)
@_condition.retry(10)
def check_x(self, a_shape, dtype):
a_cpu = numpy.random.randint(0, 10, size=a_shape)
a_cpu = a_cpu.astype(dtype, order=self.order)
Expand Down

0 comments on commit 3b57f0c

Please sign in to comment.