Fix find_python_executable error#331
Merged
takluyver merged 6 commits intopypa:masterfrom Apr 7, 2020
Merged
Conversation
Contributor
Author
|
I can add tests for those exceptions and error messages if needed :) |
takluyver
reviewed
Mar 28, 2020
Member
takluyver
left a comment
There was a problem hiding this comment.
Thanks! Comments inline.
Yes, one or two tests of handling bad cases would be good. It doesn't need to be exhaustive, and I try to avoid testing the precise wording of human-readable error messages.
Member
|
Thanks - are you still interested in restoring the |
Contributor
Author
|
Hey, yeah I'll add it in tonight if that's okay? Been a bit busy the past couple of days |
Member
|
That's fine, just checking you were still aware of it :-)
…On Wed, 1 Apr 2020, 18:33 Edward Knight, ***@***.***> wrote:
Hey, yeah I'll add it in tonight if that's okay? Been a bit busy the past
couple of days
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#331 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQB5MEHGTYQYCYZGXCOA3RKN3HBANCNFSM4LVW63DQ>
.
|
Contributor
Author
|
Will have to postpone till tomorrow, apologies! |
Contributor
Author
|
I'll have some time on the weekend to add in the tests hopefully :) |
Member
|
Thanks, that looks good. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #330
I also took the liberty of adding type hints.
Behaviour before:
Behaviour after: