()
| 862 | # |
| 863 | @pytest.fixture(scope="session") |
| 864 | def hist_file(): |
| 865 | fd, filename = tempfile.mkstemp(prefix="hist_file", suffix=".dat") |
| 866 | os.close(fd) |
| 867 | yield filename |
| 868 | # teardown code |
| 869 | with contextlib.suppress(FileNotFoundError): |
| 870 | os.remove(filename) |
| 871 | |
| 872 | |
| 873 | def test_history_file_is_directory(capsys) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…