Skip to content

Commit 6c338ca

Browse files
committed
Skip JAX tests in Python 3.8
1 parent fa758f7 commit 6c338ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/_helpers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
from importlib import import_module
22

3+
import sys
4+
35
import pytest
46

57

68
def import_(library, wrapper=False):
79
if library == 'cupy':
810
return pytest.importorskip(library)
11+
if 'jax' in library and sys.version_info <= (3, 8):
12+
pytest.skip('JAX array API support does not support Python 3.8')
913

1014
if wrapper:
1115
if 'jax' in library:

0 commit comments

Comments
 (0)