File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -530,8 +530,6 @@ def connect(dbapi_connection, connection_record):
530530 @pytest .mark .asyncio
531531 @pytest .mark .skipif (sqlalchemy_version == 1 , reason = 'Requires SQLAlchemy 2+' )
532532 async def test_asyncpg_vector (self ):
533- import asyncpg
534-
535533 engine = create_async_engine ('postgresql+asyncpg://localhost/pgvector_python_test' )
536534 async_session = async_sessionmaker (engine , expire_on_commit = False )
537535
@@ -553,8 +551,6 @@ async def test_asyncpg_vector(self):
553551 @pytest .mark .asyncio
554552 @pytest .mark .skipif (sqlalchemy_version == 1 , reason = 'Requires SQLAlchemy 2+' )
555553 async def test_asyncpg_halfvec (self ):
556- import asyncpg
557-
558554 engine = create_async_engine ('postgresql+asyncpg://localhost/pgvector_python_test' )
559555 async_session = async_sessionmaker (engine , expire_on_commit = False )
560556
@@ -593,8 +589,6 @@ async def test_asyncpg_bit(self):
593589 @pytest .mark .asyncio
594590 @pytest .mark .skipif (sqlalchemy_version == 1 , reason = 'Requires SQLAlchemy 2+' )
595591 async def test_asyncpg_sparsevec (self ):
596- import asyncpg
597-
598592 engine = create_async_engine ('postgresql+asyncpg://localhost/pgvector_python_test' )
599593 async_session = async_sessionmaker (engine , expire_on_commit = False )
600594
You can’t perform that action at this time.
0 commit comments