Skip to content

Conversation

@j178
Copy link
Contributor

@j178 j178 commented Mar 15, 2024

rye puts testing Python toolchains inside target/debug/rye-test-home/py. When you run pytest, it searches target and inadvertently picks up Python standard library tests, resulting in thousands of test cases to run. We should ignore target when running pytest in rye project.

rye puts testing Python toolchains inside `target/debug/rye-test-home/py`. When you run `pytest`, it searches `target` and inadvertently picks up Python standard library tests, resulting in thousands of test cases to run. We should ignore `target` when running pytest in rye project.
@mitsuhiko mitsuhiko merged commit 56d961a into astral-sh:main Mar 15, 2024
@j178 j178 mentioned this pull request Mar 15, 2024
@j178 j178 deleted the ignore-target branch March 16, 2024 06:31
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.

2 participants