Closed dstansby closed 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.98%. Comparing base (
0855bd6
) to head (0ae89d5
). Report is 2 commits behind head on main.
I support the concept here but I do wonder if there is a way to achieve this behavior without injecting __doctest_skip__
into the namespace of these modules. Can we skip at the CI level or something like that?
Turns out there is a way to specify which files should be skipped with specific versions of dependendcies in the pytest config 👍
This fixes doctests to run with numpy 2.0, and skips them if numpy is < 2. This isn't a very elegant solution to these values changing with a new version of numpy, but I think it's a pragmatic solution to getting CI working again for v2.