Skip to content

Commit 3b04ab8

Browse files
authored
Move make_test_list.py to tools directory (pyodide#5353)
1 parent 28ff64f commit 3b04ab8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/development/maintainers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ If doing a major version update, save time by {ref}`updating-packages` first.
294294
figure out how to fix it:
295295
https://github.com/python-greenlet/greenlet/blob/master/src/greenlet/TPythonState.cpp
296296

297-
8. In the virtual environment with the new Python version, run
297+
8. Run
298298

299299
```sh
300-
python src/tests/make_test_list.py
300+
python tools/make_test_list.py
301301
```
302302

303303
Then run the core tests `pytest src/tests/test_core_python.py` and either fix

src/tests/python_tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This list is updated with test/make_test_list.py script, which needs
1+
# This list is updated with tools/make_test_list.py script, which needs
22
# to be re-run after each CPython update.
33

44
# Test modules can have:

src/tests/make_test_list.py tools/make_test_list.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import ruamel.yaml
1212

1313
yaml = ruamel.yaml.YAML()
14-
PYODIDE_ROOT = Path(__file__).parents[2]
15-
PYTHON_TESTS_YAML = Path(__file__).parent / "python_tests.yaml"
14+
PYODIDE_ROOT = Path(__file__).parents[1]
15+
PYTHON_TESTS_YAML = PYODIDE_ROOT / "src/tests/python_tests.yaml"
1616

1717

1818
def get_makefile_envs():

0 commit comments

Comments
 (0)