mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
python: use f-strings instead of percent-encoding
This commit is contained in:
@@ -14,7 +14,7 @@ def test_db_busy_error(acfactory, tmpdir):
|
||||
|
||||
def log(string):
|
||||
with log_lock:
|
||||
print("%3.2f %s" % (time.time() - starttime, string))
|
||||
print(f"{time.time() - starttime:3.2f} {string}")
|
||||
|
||||
# make a number of accounts
|
||||
accounts = acfactory.get_many_online_accounts(3)
|
||||
|
||||
Reference in New Issue
Block a user