ruff: Fix RUF010 Use conversion in f-string.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-05-26 17:30:33 -07:00
committed by Tim Abbott
parent 0c09a4fffe
commit 9797de52a0
6 changed files with 8 additions and 8 deletions

View File

@@ -1171,7 +1171,7 @@ Output:
for item in items:
print(item)
print(f"\nexpected length: {count}\nactual length: {actual_count}")
raise AssertionError(f"{str(type(items))} is of unexpected size!")
raise AssertionError(f"{type(items)} is of unexpected size!")
@contextmanager
def assert_database_query_count(