Remove broken import
parent
7bd8019876
commit
8c9c165e0a
|
@ -30,7 +30,7 @@ from bidict import bidict
|
||||||
import toml
|
import toml
|
||||||
|
|
||||||
from .log import get_logger
|
from .log import get_logger
|
||||||
from tests.test_services import get_test_app_dir
|
|
||||||
log = get_logger('broker-config')
|
log = get_logger('broker-config')
|
||||||
|
|
||||||
# taken from ``click`` since apparently they have some
|
# taken from ``click`` since apparently they have some
|
||||||
|
@ -78,7 +78,7 @@ def get_app_dir(app_name, roaming=True, force_posix=False):
|
||||||
# within the tractor runtimes and store testing config data
|
# within the tractor runtimes and store testing config data
|
||||||
# outside of the users filesystem
|
# outside of the users filesystem
|
||||||
if "pytest" in sys.modules:
|
if "pytest" in sys.modules:
|
||||||
return get_test_app_dir()
|
app_name += '/_testing'
|
||||||
|
|
||||||
# if WIN:
|
# if WIN:
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
|
|
Loading…
Reference in New Issue