Repository navigation
Commit 31ecef7
committed
Fix function names in error messages of os.spawnve(), os.preadv() and wm_attributes()
os.spawnve() said "spawnv()" when the first element of argv is empty,
os.preadv() said "preadv2()" when buffers is not a sequence, and
tkinter's wm_attributes() said "wm_attribute()" when options are given
both positionally and as keywords. Add tests checking the messages.1 parent 4b21d15 commit 31ecef7
5 files changed
Lines changed: 13 additions & 3 deletions
File tree
- Lib
- test
- test_os
- test_tkinter
- tkinter
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3593 | 3593 | | |
3594 | 3594 | | |
3595 | 3595 | | |
| 3596 | + | |
| 3597 | + | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
3596 | 3602 | | |
3597 | 3603 | | |
3598 | 3604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | 1167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2355 | 2355 | | |
2356 | 2356 | | |
2357 | 2357 | | |
2358 | | - | |
| 2358 | + | |
2359 | 2359 | | |
2360 | 2360 | | |
2361 | 2361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8369 | 8369 | | |
8370 | 8370 | | |
8371 | 8371 | | |
8372 | | - | |
| 8372 | + | |
8373 | 8373 | | |
8374 | 8374 | | |
8375 | 8375 | | |
| |||
12454 | 12454 | | |
12455 | 12455 | | |
12456 | 12456 | | |
12457 | | - | |
| 12457 | + | |
12458 | 12458 | | |
12459 | 12459 | | |
12460 | 12460 | | |
| |||
0 commit comments