Skip to content

Commit e7aff0f

Browse files
committed
Don't run the jax.numpy array_namespace test in Python 3.8
1 parent 264e6c3 commit e7aff0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_array_namespace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_array_namespace(library, api_version):
3434
# onto JAX arrays, but we should support them regardless). The only way to
3535
# do this is to use a subprocess, since we cannot un-import it and another
3636
# test probably already imported it.
37-
if library == "jax.numpy":
37+
if library == "jax.numpy" and sys.version_info >= (3, 9):
3838
code = f"""\
3939
import sys
4040
import jax.numpy

0 commit comments

Comments
 (0)