Skip to content

Commit 2d84758

Browse files
committed
fix suppress on quote
1 parent 9b070b1 commit 2d84758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databasez/testclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ async def drop_database(cls, url: Union[str, "sqlalchemy.URL", DatabaseURL], *,
324324
else:
325325
async with db_client.connection() as conn:
326326
quote = get_quoter(conn.async_connection)
327+
text = f"DROP DATABASE {exists_text}{quote(database)}"
327328
with contextlib.suppress(ProgrammingError):
328-
text = f"DROP DATABASE {exists_text}{quote(database)}"
329329
await conn.execute(text)
330330

331331

0 commit comments

Comments
 (0)