def METHOD_NAME(tmp_path):
    """Check that `_read_last_line` raises `OSError` for empty files.
    """
    path = tmp_path / "tmp.txt"
    path.touch(exist_ok=False)
    with pytest.raises(OSError):
        assert ffldatafind._read_last_line(path)