Commit a1492cd
committed
fix test_find_cmd_python
It's a bit unclear what should be done here.
'python' is short-circuited in find_cmd to sys.executable.
This commit does the same short-circuit with basename(sys.executable), which can be any of Python, python, python3, python3.exe, etc.
An alternate fix would be to change the test back to testing what the code actually did.1 parent b82bef4 commit a1492cd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments