mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
ref(package) replace appdirs with platformdirs in configuration and requirements files (#697)
* ref(package) replace appdirs with platformdirs in configuration and requirements files * ref: remove types-appdirs from dependencies in tox.ini
This commit is contained in:

committed by
GitHub

parent
c702204231
commit
1a780e8f80
@@ -8,7 +8,7 @@
|
||||
"""
|
||||
import pathlib
|
||||
|
||||
import appdirs
|
||||
import platformdirs
|
||||
import pytest
|
||||
|
||||
import escpos.exceptions
|
||||
@@ -80,7 +80,7 @@ def test_config_load_from_appdir() -> None:
|
||||
|
||||
# generate a dummy config
|
||||
config_file = (
|
||||
pathlib.Path(appdirs.user_config_dir(config.Config._app_name))
|
||||
pathlib.Path(platformdirs.user_config_dir(config.Config._app_name))
|
||||
/ config.Config._config_file
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user