Skip to content

Commit dcefb8e

Browse files
committed
removed cache_root from conversion tests
1 parent 7f4bd40 commit dcefb8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extras/fileformats/extras/generic/tests/test_converters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_files(files_dir: Path, file_names: ty.List[str]) -> ty.List[Path]:
2929
def test_list_dir_contents(
3030
files_dir: Path, test_files: ty.List[Path], tmp_path: Path
3131
) -> None:
32-
text_set = SetOf[TextFile].convert(DirectoryOf[TextFile](files_dir), cache_root=tmp_path / "cache") # type: ignore[misc]
32+
text_set = SetOf[TextFile].convert(DirectoryOf[TextFile](files_dir)) # type: ignore[misc]
3333
assert sorted(t.name for t in text_set.contents) == sorted(
3434
f.name for f in test_files
3535
)
@@ -38,5 +38,5 @@ def test_list_dir_contents(
3838
def test_put_contents_in_dir(
3939
file_names: ty.List[str], test_files: ty.List[Path], tmp_path: Path
4040
) -> None:
41-
text_dir = DirectoryOf[TextFile].convert(SetOf[TextFile](test_files), cache_root=tmp_path / "cache") # type: ignore[misc]
41+
text_dir = DirectoryOf[TextFile].convert(SetOf[TextFile](test_files)) # type: ignore[misc]
4242
assert sorted(t.name for t in text_dir.contents) == file_names

0 commit comments

Comments
 (0)