Skip to content

Tests: the root unit tests move into tests/ - #240

Merged
bdbarnett merged 1 commit into
mainfrom
tests/move-root-onto-239
Oct 31, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
tests/move-root-onto-239

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Replaces #237, rebased onto #239.

The seven test_*.py files at the repository root move into tests/, so the root holds the build command, its pins and the project files.

Each test now finds the repository root from its own path. The workflows and CONTRIBUTING run them with PYTHONPATH=tests, and ci_scope.py treats tests/** as inert, as it did the root test files. CONTRIBUTING's layout table gains tests/, and it now lists test_ci_scope and test_lib_overrides with the rest.

All seven files ran before and after the move with the same result: OK, 3 skipped.

The seven test_*.py files at the root move into tests/. Each finds the repo
root from its own path, the workflows and CONTRIBUTING run them with
PYTHONPATH=tests, and ci_scope treats tests/** as inert, as it did the root
test files.
@bdbarnett
bdbarnett merged commit 934b81c into main Oct 31, 2026
19 checks passed
@bdbarnett
bdbarnett deleted the tests/move-root-onto-239 branch October 31, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant