Fix testing errors - which surfaced with pytest 6.0.1

This commit is contained in:
Matthias
2020-08-03 19:21:46 +02:00
parent 5ff09a06c7
commit a33346c6b6
2 changed files with 4 additions and 2 deletions

View File

@@ -258,8 +258,8 @@ class Exchange:
api.urls['api'] = api.urls['test']
logger.info("Enabled Sandbox API on %s", name)
else:
logger.warning(name, "No Sandbox URL in CCXT, exiting. "
"Please check your config.json")
logger.warning(f"No Sandbox URL in CCXT for {name}, exiting. "
"Please check your config.json")
raise OperationalException(f'Exchange {name} does not provide a sandbox api')
def _load_async_markets(self, reload: bool = False) -> None: