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 2323 python -m pip install -r requirements.txt
2424 - name: Run the test suite
2525 env:
26- XPTESTS_MODULE : numpy.array_api
26+ ARRAY_API_TESTS_MODULE : numpy.array_api
2727 run: |
2828 # Mark some known issues as XFAIL
2929 cat << EOF >> xfails.txt
Original file line number Diff line number Diff line change 99array_module = None
1010
1111if 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 ']
1414 _module, _sub = mod_name, None
1515 if '.' in mod_name:
1616 _module, _sub = mod_name.split('.', 1)
2424 # submodules that can be imported (like mxnet.nd).
2525 mod = import_module(mod_name)
2626 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")
2828else:
2929 mod = array_module
3030 mod_name = mod.__name__
You can’t perform that action at this time.
0 commit comments