Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT/DOC: Doctests fix scpdt 1.6 #22107

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
TST: io.matlab: temp skip failures in io.matlab.Matlab****
Matlab{Object,Function} inherit from np.ndarray; examples
from {ndarray.strides,shape,fields} are broken. Should
probably keep skipping in scipy until
numpy/numpy#28019 is fixed.
  • Loading branch information
ev-br committed Dec 17, 2024
commit 9aee37f98474ae59fa05f7e047bd4be574e80840
8 changes: 8 additions & 0 deletions scipy/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,14 @@ def warnings_errors_and_rng(test=None):
'scipy.optimize.show_options', # does not have much to doctest
'scipy.signal.normalize', # manipulates warnings (XXX temp skip)
'scipy.sparse.linalg.norm', # XXX temp skip
# these below test things which inherit from np.ndarray
# cross-ref https://github.com/numpy/numpy/issues/28019
'scipy.io.matlab.MatlabObject.strides',
'scipy.io.matlab.MatlabObject.dtype',
'scipy.io.matlab.MatlabOpaque.dtype',
'scipy.io.matlab.MatlabOpaque.strides',
'scipy.io.matlab.MatlabFunction.strides',
'scipy.io.matlab.MatlabFunction.dtype'
])

# these are affected by NumPy 2.0 scalar repr: rely on string comparison
Expand Down
Loading