Skip to content

Commit bf0c77b

Browse files
committed
chore: update dependencies and format test
1 parent cb9bbb4 commit bf0c77b

2 files changed

Lines changed: 129 additions & 116 deletions

File tree

tests/test_extract_manager.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,13 @@ def test_execute_extract_tarfile_error(
185185
archive_file = tmp_path / "test.tar.zst"
186186
archive_file.write_text("dummy")
187187

188-
with patch(
189-
"tarfile.open", side_effect=tarfile.TarError("Invalid tar file")
190-
), caplog.at_level(logging.ERROR):
188+
with (
189+
patch(
190+
"tarfile.open",
191+
side_effect=tarfile.TarError("Invalid tar file"),
192+
),
193+
caplog.at_level(logging.ERROR),
194+
):
191195
result = extract_manager.execute_extract(str(archive_file))
192196

193197
assert result is False

0 commit comments

Comments
 (0)