Closed teapot9 closed 1 year ago
Thank you!
Just to know... Which python version are you using? Didn't see on python 3.11
Looks like the warning only appears when I am running pytest and there is no cache.
You should be able to reproduce by removing any __pycache__
directory before running pytest:
rm -r ./pySMART/interface/__pycache__ ./pySMART/__pycache__ ./tests/__pycache__
Replicated
Thank you!
(wtf isn't this failing on tests!? arg!)
(wtf isn't this failing on tests!? arg!)
You can make pytest fail on warnings with the -Werror
or -Werror::DeprecationWarning
flag.
Thanks for your idea :-)
This fixes the following deprecation warning: