File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 23
23
python -m pip install -r requirements.txt
24
24
- name : Run the test suite
25
25
env :
26
- XPTESTS_MODULE : numpy.array_api
26
+ ARRAY_API_TESTS_MODULE : numpy.array_api
27
27
run : |
28
28
# Mark some known issues as XFAIL
29
29
cat << EOF >> xfails.txt
Original file line number Diff line number Diff line change 9
9
array_module = None
10
10
11
11
if array_module is None :
12
- if 'XPTESTS_MODULE ' in os .environ :
13
- mod_name = os .environ ['XPTESTS_MODULE ' ]
12
+ if 'ARRAY_API_TESTS_MODULE ' in os .environ :
13
+ mod_name = os .environ ['ARRAY_API_TESTS_MODULE ' ]
14
14
_module , _sub = mod_name , None
15
15
if '.' in mod_name :
16
16
_module , _sub = mod_name .split ('.' , 1 )
24
24
# submodules that can be imported (like mxnet.nd).
25
25
mod = import_module (mod_name )
26
26
else :
27
- raise RuntimeError ("No array module specified. Either edit _array_module.py or set the XPTESTS_MODULE environment variable" )
27
+ raise RuntimeError ("No array module specified. Either edit _array_module.py or set the ARRAY_API_TESTS_MODULE environment variable" )
28
28
else :
29
29
mod = array_module
30
30
mod_name = mod .__name__
You can’t perform that action at this time.
0 commit comments