()
| 1339 | |
| 1340 | |
| 1341 | def test_fdcapture_tmpfile_remains_the_same() -> None: |
| 1342 | cap = StdCaptureFD(out=False, err=True) |
| 1343 | try: |
| 1344 | cap.start_capturing() |
| 1345 | capfile = cap.err.tmpfile |
| 1346 | cap.readouterr() |
| 1347 | finally: |
| 1348 | cap.stop_capturing() |
| 1349 | capfile2 = cap.err.tmpfile |
| 1350 | assert capfile2 == capfile |
| 1351 | |
| 1352 | |
| 1353 | def test_close_and_capture_again(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected