Skip to content

Add a test of .pth handling.#118

Merged
mhsmith merged 6 commits intomainfrom
pth-handling
Mar 26, 2025
Merged

Add a test of .pth handling.#118
mhsmith merged 6 commits intomainfrom
pth-handling

Conversation

@freakboy3742
Copy link
Member

Add a test that .pth files are processed.

This is done by adding an in-repo test project that can be installed; that project creates a .pth file when it is installed, which invokes an init() method. That method sets a flag on the module which the test can then assert.

Draws heavily from @timrid's timrid/pth-execution-checker project.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

freakboy3742 and others added 2 commits March 25, 2025 08:49
Co-authored-by: Tim Rid <6593626+timrid@users.noreply.github.com>
@freakboy3742 freakboy3742 requested a review from mhsmith March 26, 2025 02:14
@mhsmith mhsmith merged commit 82a5115 into main Mar 26, 2025
37 checks passed
@mhsmith mhsmith deleted the pth-handling branch March 26, 2025 12: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