We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb9bbb4 commit bf0c77bCopy full SHA for bf0c77b
2 files changed
tests/test_extract_manager.py
@@ -185,9 +185,13 @@ def test_execute_extract_tarfile_error(
185
archive_file = tmp_path / "test.tar.zst"
186
archive_file.write_text("dummy")
187
188
- with patch(
189
- "tarfile.open", side_effect=tarfile.TarError("Invalid tar file")
190
- ), caplog.at_level(logging.ERROR):
+ with (
+ patch(
+ "tarfile.open",
191
+ side_effect=tarfile.TarError("Invalid tar file"),
192
+ ),
193
+ caplog.at_level(logging.ERROR),
194
+ ):
195
result = extract_manager.execute_extract(str(archive_file))
196
197
assert result is False
0 commit comments