Repository navigation
Commit b545c72
committed
gh-160561: Address review comments on the fromfd() leak fix
Remove the code comment and use a bare except, as requested. Rename
the test to testFromFdError, flatten it and use os_helper.fd_count()
so the descriptor count works on all platforms.1 parent c7af374 commit b545c72
2 files changed
Lines changed: 16 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | | - | |
579 | | - | |
| 577 | + | |
580 | 578 | | |
581 | 579 | | |
582 | 580 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3195 | 3195 | | |
3196 | 3196 | | |
3197 | 3197 | | |
3198 | | - | |
3199 | | - | |
3200 | | - | |
3201 | | - | |
3202 | | - | |
3203 | | - | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
3204 | 3201 | | |
3205 | | - | |
3206 | | - | |
3207 | | - | |
3208 | | - | |
3209 | | - | |
3210 | | - | |
3211 | | - | |
3212 | | - | |
3213 | | - | |
3214 | | - | |
3215 | | - | |
3216 | | - | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
3217 | 3214 | | |
3218 | 3215 | | |
3219 | 3216 | | |
| |||
0 commit comments