Commit d2506c7
committed
Make Git.execute a bit simpler and very slightly more robust
This covers the rare unpatched python/cpython#101283 case the
previous commit added tests for, that only applies in the unusual
situation that the ComSpec environment variable is unset and an old
build (but this includes downloadable builds and current
actions/setup-python builds) of Python <=3.9 for Windows is in use.
The main benefit of this change is really to slightly simplify the
code under test. (It might even be justified to remove the
use_shell_impostor=True test cases at some point.)1 parent 865c6e8 commit d2506c7
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | 991 | | |
| 992 | + | |
995 | 993 | | |
996 | 994 | | |
997 | 995 | | |
998 | 996 | | |
999 | 997 | | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
1004 | 1001 | | |
1005 | | - | |
| 1002 | + | |
1006 | 1003 | | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
1010 | 1007 | | |
1011 | 1008 | | |
1012 | 1009 | | |
| |||
0 commit comments