Skip to content

Commit b740187

Browse files
hawkinspjax authors
authored andcommitted
Disable a random distribution test that appears to fail under scipy 1.13.0rc1.
PiperOrigin-RevId: 621352047
1 parent 6b582f5 commit b740187

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/random_lax_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,9 @@ def testParetoShape(self):
742742
)
743743
@jtu.skip_on_devices("cpu", "tpu") # TODO(phawkins): slow compilation times
744744
def testT(self, df, dtype):
745+
scipy_version = jtu.parse_version(scipy.__version__)
746+
if scipy_version >= (1, 13):
747+
self.skipTest("ks test returns NaN on SciPy 1.13")
745748
key = lambda: self.make_key(1)
746749
rand = lambda key, df: random.t(key, df, (10000,), dtype)
747750
crand = jax.jit(rand)

0 commit comments

Comments
 (0)