Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit6a8ed70
committed
Run test_env_vars_for_windows_tests only on Windows
This skips the tests of how the HIDE_WINDOWS_KNOWN_ERRORS andHIDE_WINDOWS_FREEZE_ERRORS environment variables affect thesame-named attributes of git.util, except when testing on Windows.These are parsed only to ever set a True value on Windows, butchecking that this is the case is less important ever sincegit.util.rmtree was changed to not check HIDE_WINDOWS_KNOWN_ERRORSon other systems (and this is covered in other tests).Setting the variables to True on non-Windows systems would stillhave a bad effect on the tests themselves, some of which use themas skip or xfail conditions separate from the skipping logic ingit.util.rmtree. However, this is effectively using them as part ofthe test suite (which they were initially meant for and which theymay eventually go back to being, for#790), where they would notordinarily have tests.The benefit and motivation for running these tests only on Windowsis that the tests can be simplified, so that their parameter setsare no longer confusing. That change is also made here.1 parentb12a54a commit6a8ed70
1 file changed
+11
-7
lines changedLines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
210 | 214 |
| |
211 | 215 |
| |
212 | 216 |
| |
213 |
| - | |
| 217 | + | |
214 | 218 |
| |
215 | 219 |
| |
216 | 220 |
| |
217 |
| - | |
| 221 | + | |
218 | 222 |
| |
219 |
| - | |
| 223 | + | |
220 | 224 |
| |
221 |
| - | |
| 225 | + | |
222 | 226 |
| |
223 |
| - | |
| 227 | + | |
224 | 228 |
| |
225 |
| - | |
| 229 | + | |
226 | 230 |
| |
227 |
| - | |
| 231 | + | |
228 | 232 |
| |
229 | 233 |
| |
230 | 234 |
| |
|
0 commit comments
Comments
(0)