Repository navigation
TST: Handle PY_SSIZE_T_CLEAN warnings - #11019
Conversation
|
Remote data failure is unrelated. |
|
Looks straightforward and the warning seems correctly handled in CI now ( One thing I have been wondering about before, why not just adding |
|
Re: #11019 (comment) Not sure. I didn't write the test. Will have to ask @astrofrog or @Cadair . |
Looks like originally this was intended to make sure no warnings from numpy were issued, but as of #10504 some others (matplotlib-related?) needed to be intercepted, + the DeprecationWarning as of numpy 1.16. Then it might be reasonable to handle the Python 3.8 warning there as well. |
|
So, you are saying we should not skip at all and use |
|
Yes, since we clearly anticipate that warning, I'd say it's better to run the test and catch it (it is not skipped for Numpy >= 1.16 either...). Only possible drawback I can see is too many potential warnings accumulating. |
ec4ed3b to
3f8157b
Compare
3f8157b to
94669b2
Compare
|
RTD reached concurrency limit but we don't really need it (but we cannot cancel). You can ignore the "allowed failure" job. If this looks fine to you, please approve and merge. Thanks! |
Description
This pull request is to un-ignore PY_SSIZE_T_CLEAN warnings and handle them. We get reports of these warnings during RC testing because
astropy.test()ignoressetup.cfg. I forgot why we ignored this warning, but maybe we don't have to anymore.Fixes #10954
Follow up of #10956