-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-46425: fix direct invocation of test_contextlib
#30681
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
Conversation
Thanks @sobolevn for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to |
Sorry @sobolevn and @serhiy-storchaka, I had trouble checking out the |
Thank you, @serhiy-storchaka! I will backport them manually. |
There was a problem with direct invocation of
test_contextlib
. The best way to illustrate it is:But, when a path starts with
./
, we have a problem:When
__file__
is normalized - the error is gone. Now we can use both styles to call this module.https://bugs.python.org/issue46425
CC @corona10 as my mentor.