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:
authorfiestorra <fiestorra@users.noreply.github.com>2026-11-30 02:32:18 +0100
committerfiestorra <fiestorra@users.noreply.github.com>2026-11-30 14:55:47 +0100
commit3c26f69f0c4a764c89cf3d3ce2452ba731475813 (patch)
tree6cf8b6c36286392c2651def368f4127fd282cdf8 /tests/test_run_gpu_tests_python_assembler.py
parent20fe0c754679dae766fce379f9bb36da26ee478b (diff)
tests: tile_probe's numpy gate asks the way the tool runs
HAVE_NUMPY used importlib.util.find_spec in this process, while the tests run the tool with python -I, which hides the --user install this machine has. The gate opened and four cases died on "needs numpy" instead of testing what they name. The file already did this correctly for Pillow (HAVE_PIL_ISOLATED); this applies the same probe to numpy and gates the four cases that reach it, keeping the eleven that test behaviour before numpy. Measured on main b8bd37111, Windows 11, Python 3.13: 5 failed, 12 passed before; 11 passed, 4 skipped after. Where -I sees numpy the probe returns true and the four run as before. Written with an AI assistant.
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions