Skip to content

Commit 6cfc910

Browse files
committed
Updated style [skip ci]
1 parent d963813 commit 6cfc910

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_asyncpg.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def setup_connection(self):
1919

2020
@pytest.mark.asyncio
2121
async def test_vector(self):
22-
conn = await self.setup_connection();
22+
conn = await self.setup_connection()
2323
await conn.execute('DROP TABLE IF EXISTS asyncpg_items')
2424
await conn.execute('CREATE TABLE asyncpg_items (id bigserial PRIMARY KEY, embedding vector(3))')
2525

@@ -43,7 +43,7 @@ async def test_vector(self):
4343

4444
@pytest.mark.asyncio
4545
async def test_halfvec(self):
46-
conn = await self.setup_connection();
46+
conn = await self.setup_connection()
4747
await conn.execute('DROP TABLE IF EXISTS asyncpg_items')
4848
await conn.execute('CREATE TABLE asyncpg_items (id bigserial PRIMARY KEY, embedding halfvec(3))')
4949

@@ -65,7 +65,7 @@ async def test_halfvec(self):
6565

6666
@pytest.mark.asyncio
6767
async def test_bit(self):
68-
conn = await self.setup_connection();
68+
conn = await self.setup_connection()
6969
await conn.execute('DROP TABLE IF EXISTS asyncpg_items')
7070
await conn.execute('CREATE TABLE asyncpg_items (id bigserial PRIMARY KEY, embedding bit(3))')
7171

@@ -86,7 +86,7 @@ async def test_bit(self):
8686

8787
@pytest.mark.asyncio
8888
async def test_sparsevec(self):
89-
conn = await self.setup_connection();
89+
conn = await self.setup_connection()
9090
await conn.execute('DROP TABLE IF EXISTS asyncpg_items')
9191
await conn.execute('CREATE TABLE asyncpg_items (id bigserial PRIMARY KEY, embedding sparsevec(3))')
9292

@@ -106,7 +106,7 @@ async def test_sparsevec(self):
106106

107107
@pytest.mark.asyncio
108108
async def test_vector_array(self):
109-
conn = await self.setup_connection();
109+
conn = await self.setup_connection()
110110
await conn.execute('DROP TABLE IF EXISTS asyncpg_items')
111111
await conn.execute('CREATE TABLE asyncpg_items (id bigserial PRIMARY KEY, embeddings vector[])')
112112

0 commit comments

Comments
 (0)