You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python] Some tests that are off by default use NumPy without @pytest.mark.numpy #55458
Describe the bug, including details regarding any error messages, version, and platform.
A few tests use NumPy but have no numpy mark. They belong to groups that are off by default, so the no-NumPy CI job (conda-python-3.13-no-numpy) never runs them, and the missing mark goes unnoticed. large_memory tests only run on the ARM64 macOS job, and CUDA tests only run on GPU runners; both have NumPy installed.
Affected tests (these modules set np = None when NumPy is missing):
With NumPy uninstalled, running these with --enable-large_memory (or on a CUDA machine) fails with AttributeError: 'NoneType' object has no attribute ... instead of skipping.
The fix is to add @pytest.mark.numpy to these four tests.
Activity
09Catho commentedon Nov 10, 2026
I would like to work on this issue. I will add the four missing NumPy markers and run the focused Python tests.