(pytester: Pytester)
| 1006 | |
| 1007 | @pytest.fixture |
| 1008 | def tmpfile(pytester: Pytester) -> Generator[BinaryIO]: |
| 1009 | f = pytester.makepyfile(class="st">"").open(class="st">"wb+") |
| 1010 | yield f |
| 1011 | if not f.closed: |
| 1012 | f.close() |
| 1013 | |
| 1014 | |
| 1015 | @contextlib.contextmanager |
nothing calls this directly
no test coverage detected