Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed May 7, 2024
1 parent a09de86 commit bf0ed6d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/processing/test_data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,16 +1039,6 @@ def test_map_error_when_not_empty(monkeypatch):
error_when_not_empty=True,
)

monkeypatch.setattr(data_processor_module, "_IS_IN_STUDIO", True)

with pytest.raises(OSError, match="cache"):
map(
map_fn,
[0, 1],
output_dir=Dir(path=None, url="s3://bucket"),
error_when_not_empty=False,
)


def map_fn_is_last(index, output_dir, is_last):
with open(os.path.join(output_dir, f"{index}_{is_last}.txt"), "w") as f:
Expand Down

0 comments on commit bf0ed6d

Please sign in to comment.