From 5624be3976f025cd245e9aa494fb4e931fb097bb Mon Sep 17 00:00:00 2001 From: BlackYps Date: Wed, 5 Jun 2024 00:20:37 +0200 Subject: [PATCH] Attempt to fix execute error --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 9c0660e..7fdc40b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -73,7 +73,7 @@ async def test_data(request): with open("tests/data/test-data.sql") as f: async with db.acquire() as conn: - await conn.execute(f.read()) + await conn.execute(f.read().replace(":", r"\:")) await db.close()