bpo-46425: fix direct invocation of test_contextlib#30681
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, something went wrong.
|
Sorry, @sobolevn and @serhiy-storchaka, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry @sobolevn and @serhiy-storchaka, I had trouble checking out the |
Sorry, something went wrong.
|
Thank you, @serhiy-storchaka! I will backport them manually. |
Sorry, something went wrong.
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.