Closed javierggt closed 1 year ago
In ska3-prime (python 3.10) we get the following warning in unit tests:
PytestRemovedIn8Warning: Passing None has been deprecated.
This PR gets rid of that warning by explicitly setting the type of warning expected.
Independent check of unit tests by Jean
I checked that the warning went away with this PR using ska3-flight 2023.1rc4
(I'm still getting a numpy DeprecationWarning on ctypeslib, but at least this PR cleans up the one from our own code -Jean).
Description
In ska3-prime (python 3.10) we get the following warning in unit tests:
This PR gets rid of that warning by explicitly setting the type of warning expected.
Interface impacts
Testing
Unit tests
Independent check of unit tests by Jean
Functional tests
I checked that the warning went away with this PR using ska3-flight 2023.1rc4
(I'm still getting a numpy DeprecationWarning on ctypeslib, but at least this PR cleans up the one from our own code -Jean).