()
| 1419 | |
| 1420 | |
| 1421 | def test_fdcapture_tmpfile_remains_the_same() -> None: |
| 1422 | cap = StdCaptureFD(out=False, err=True) |
| 1423 | assert isinstance(cap.err, capture.FDCapture) |
| 1424 | try: |
| 1425 | cap.start_capturing() |
| 1426 | capfile = cap.err.tmpfile |
| 1427 | cap.readouterr() |
| 1428 | finally: |
| 1429 | cap.stop_capturing() |
| 1430 | capfile2 = cap.err.tmpfile |
| 1431 | assert capfile2 == capfile |
| 1432 | |
| 1433 | |
| 1434 | def test_close_and_capture_again(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…