diff options
| author | Bram <13451103+Boost9898@users.noreply.github.com> | 2026-11-25 21:44:29 +0100 |
|---|---|---|
| committer | Bram <13451103+Boost9898@users.noreply.github.com> | 2026-11-25 21:44:29 +0100 |
| commit | 4cfb025a080ca58927701721ac3042f476a5440c (patch) | |
| tree | 0977c54964cf56c8e77e9f31fccef0478937a29e /runtime/src/pe_loader.cpp | |
| parent | db1a22d290f5e86fff9282fce3d4e02e788b05b4 (diff) | |
test_calibrated_texture_extra: patch the replace_retry that calibrated_texture holds
Without numpy the test loads calibrated_texture inside mock.patch.dict(sys.modules),
which drops replace_retry from sys.modules again on exit. mock.patch("replace_retry.replace")
then imports and patches a second copy, export_file never sees the failure, and the
test added in #570 fails. Patch ct.replace_retry directly, which is the same module
with or without numpy.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions