0.28: `imp` module is deprecated
Looks like pytest shows warning about imp
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.18, pytest-7.4.0, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pyxdg-rel-0.28
collected 57 items
test/test_basedirectory.py ........ [ 14%]
test/test_desktop.py .......... [ 31%]
test/test_icon.py .... [ 38%]
test/test_inifile.py ... [ 43%]
test/test_locale.py . [ 45%]
test/test_menu.py ..... [ 54%]
test/test_menu_rules.py .. [ 57%]
test/test_mime.py ...................... [ 96%]
test/test_recentfiles.py .. [100%]
===================================================================================== warnings summary ======================================================================================
test/test_basedirectory.py:12
/home/tkloczko/rpmbuild/BUILD/pyxdg-rel-0.28/test/test_basedirectory.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import reload
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================================================== 57 passed, 1 warning in 3.19s ===============================================================================