def METHOD_NAME():
    """Test that _path_to_str returns a string."""
    path_str = "foo"
    assert _path_to_str(path_str) == path_str
    assert _path_to_str(Path(path_str)) == path_str
    with pytest.raises(ValueError):
        _path_to_str(1)