numpydoc icon indicating copy to clipboard operation
numpydoc copied to clipboard

"Make sure CLI works" job in `test.yml` has an exception that doesn't cause the job to fail

Open stefmolin opened this issue 1 month ago • 1 comments

I'm not sure if this is intentional, but the "Make sure CLI works" job in test.yml has an exception that doesn't cause the job to fail. I only noticed this by accident.

Image

https://github.com/numpy/numpydoc/actions/runs/19341338973/job/55330245626#step:8:90

stefmolin avatar Nov 13 '25 18:11 stefmolin

It's tough to tell what's supposed to happen here - from the traceback, it looks like this is expected to "fail" (i.e. raise an exception). In that sense, raising the exception is the expected behavior so the job itself would be expected to pass (i.e. no red x). Now... would the job fail if the exception were not raised? I'm not so sure...

rossbar avatar Nov 13 '25 19:11 rossbar