Skip to content

lib-rt tests: discover lib-rt source more flexibly#21034

Open
mr-c wants to merge 1 commit intopython:masterfrom
mr-c:lib-rt-tests-flexfind
Open

lib-rt tests: discover lib-rt source more flexibly#21034
mr-c wants to merge 1 commit intopython:masterfrom
mr-c:lib-rt-tests-flexfind

Conversation

@mr-c
Copy link
Contributor

@mr-c mr-c commented Mar 17, 2026

When running the tests as part of Debian packaging, the current working directory will not be the root of the unpacked mypy sdist/archive, therefore searching parent directories will fail.

Use the PREFIX variable from mypyc.test.config, which will reflect the value of the MYPY_TEST_PREFIX enviornment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant