This PR removes the use of deprecated decorator astropy.utils.compat.misc.override__dir__ and replaces it with the suggestion in the docstring of override__dir__.
which causes the following warning:
WARNING: AstropyDeprecationWarning: http://bugs.python.org/issue12166 is resolved. See docstring for alternatives. [chandra_aca.aca_image]
Interface impacts
None
Testing
Unit tests
[x] Mac
Independent check of unit tests by [REVIEWER NAME]
[ ] [PLATFORM]:
Functional tests
I checked that the deprecation warning is gone in 2023.1rc4:
python -c 'import chandra_aca.aca_image'
I also checked in the command line that IMGCOL0 and IMGROW0 are in __dir__()
Description
This PR removes the use of deprecated decorator
astropy.utils.compat.misc.override__dir__
and replaces it with the suggestion in the docstring ofoverride__dir__
.which causes the following warning:
Interface impacts
None
Testing
Unit tests
Independent check of unit tests by [REVIEWER NAME]
Functional tests
I checked that the deprecation warning is gone in 2023.1rc4:
I also checked in the command line that
IMGCOL0
andIMGROW0
are in__dir__()