Skip to content

[mypyc] Provide instructions for resolving missing test module on Windows #19579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emmatyping
Copy link
Member

This might be overkill - I definitely understand if people think so, but I stumbled over this when testing #19578. Python doesn't come with the test module by default on Windows if installed through pymanager. Since test.support.EqualToForwardRef is used, I figured a clear error message about how to resolve this would be nice.

Another approach would be to just use the pre-3.14 ForwardRef code and not raise an error here. I'm not totally sure which is better.

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