Commit 6ab228b
authored
Flush stdout and stderr in pytester.run (pytest-dev#13695)
Attempted to make `test_faulthandler.py::test_timeout` more reliable on CI, but ultimately this was not accomplished.
However, it seems flushing `stdout` and `stderr` during `pytester.run` seems the right thing to do, so it was decided to leave the calls and only skip the test in more specific scenarios that were failing frequently on CI (see pytest-dev#13695 for discussion history).
We should extend the skip list as needed.
Follow-up on pytest-dev#13684.
Partially addresses pytest-dev#7022.1 parent 41ffbef commit 6ab228b
4 files changed
Lines changed: 13 additions & 4 deletions
File tree
- changelog
- src/_pytest
- testing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
1426 | 1425 | | |
1427 | 1426 | | |
1428 | 1427 | | |
| |||
1443 | 1442 | | |
1444 | 1443 | | |
1445 | 1444 | | |
| 1445 | + | |
| 1446 | + | |
1446 | 1447 | | |
1447 | 1448 | | |
1448 | 1449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2250 | 2250 | | |
2251 | 2251 | | |
2252 | 2252 | | |
2253 | | - | |
2254 | | - | |
| 2253 | + | |
| 2254 | + | |
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
| |||
0 commit comments