upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorBram <13451103+Boost9898@users.noreply.github.com>2026-11-25 21:44:29 +0100
committerBram <13451103+Boost9898@users.noreply.github.com>2026-11-25 21:44:29 +0100
commit4cfb025a080ca58927701721ac3042f476a5440c (patch)
tree0977c54964cf56c8e77e9f31fccef0478937a29e /tests/test_run_gpu_tests_python_assembler.py
parentdb1a22d290f5e86fff9282fce3d4e02e788b05b4 (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 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions