Skip to content

Commit

Permalink
Move make_test_list.py to tools directory (pyodide#5353)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane authored Jan 19, 2025
1 parent 28ff64f commit 3b04ab8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/development/maintainers.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ If doing a major version update, save time by {ref}`updating-packages` first.
figure out how to fix it:
https://github.com/python-greenlet/greenlet/blob/master/src/greenlet/TPythonState.cpp

8. In the virtual environment with the new Python version, run
8. Run

```sh
python src/tests/make_test_list.py
python tools/make_test_list.py
```

Then run the core tests `pytest src/tests/test_core_python.py` and either fix
Expand Down
2 changes: 1 addition & 1 deletion src/tests/python_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This list is updated with test/make_test_list.py script, which needs
# This list is updated with tools/make_test_list.py script, which needs
# to be re-run after each CPython update.

# Test modules can have:
Expand Down
4 changes: 2 additions & 2 deletions src/tests/make_test_list.py → tools/make_test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import ruamel.yaml

yaml = ruamel.yaml.YAML()
PYODIDE_ROOT = Path(__file__).parents[2]
PYTHON_TESTS_YAML = Path(__file__).parent / "python_tests.yaml"
PYODIDE_ROOT = Path(__file__).parents[1]
PYTHON_TESTS_YAML = PYODIDE_ROOT / "src/tests/python_tests.yaml"


def get_makefile_envs():
Expand Down

0 comments on commit 3b04ab8

Please sign in to comment.