Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_calibrated_texture_extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,7 @@ def test_export_file_replacement_failure_cleans_temporary_file(self):
out = self.root / "replace_fail.dds"

with _fake_native_context(), \
mock.patch("replace_retry.replace", side_effect=OSError("simulated I/O write failure")):
mock.patch.object(ct.replace_retry, "replace", side_effect=OSError("simulated I/O write failure")):
with self.assertRaisesRegex(OSError, "simulated I/O write failure"):
ct.export_file(pool, 0, out, None, True, self.profile)

Expand Down
Loading