Skip to content

Commit

Permalink
Fix scipy version condition
Browse files Browse the repository at this point in the history
  • Loading branch information
asi1024 committed Jan 9, 2024
1 parent 531bebc commit 6664f7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cupyx_tests/scipy_tests/signal_tests/test_spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ def test_partial_2dperiod(self, xp, scp):
strength, phase = scp.signal.vectorstrength(events, period)
return strength, phase

@testing.with_requires('scipy>1.11')
@testing.with_requires('scipy>=1.12.0rc1')
@testing.numpy_cupy_allclose(scipy_name='scp', rtol=1e-7, atol=1e-7)
def test_opposite_1dperiod(self, xp, scp):
events = xp.array([0, .25, .5, .75])
Expand All @@ -1304,7 +1304,7 @@ def test_opposite_1dperiod(self, xp, scp):
strength, phase = scp.signal.vectorstrength(events, period)
return strength, phase

@testing.with_requires('scipy>1.11')
@testing.with_requires('scipy>=1.12.0rc1')
@testing.numpy_cupy_allclose(scipy_name='scp', rtol=1e-7, atol=1e-7)
def test_opposite_2dperiod(self, xp, scp):
events = xp.array([0, .25, .5, .75])
Expand Down

0 comments on commit 6664f7a

Please sign in to comment.