-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
numpy.dtype attributes are not recognized #178
Comments
The fix is likely around https://github.com/scipy/scipy_doctest/blob/main/scipy_doctest/frontend.py#L99 or even in DTFinder.find : if an object is a class or a class instance, take its cross-ref #177 which is specific to |
I think you can use |
Looks like it might work indeed:
|
I actually wonder what is different between EDIT:
|
numpy/numpy#28001 :
np.dtype.kind
docstring is not checked.and this
member_descriptor
is not recognized as aninspect.routine
bydoctest.DoctestFinder._find
. There are in fact several othersomething_descriptor
s in np.dtype methods, and they are also skipped:The text was updated successfully, but these errors were encountered: