File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -844,15 +844,17 @@ async def test_invalid_authenticator():
844844
845845
846846@pytest .mark .skipolddriver
847- async def test_connect_metadata_preservation ():
847+ def test_connect_metadata_preservation ():
848848 """Test that the async connect function preserves metadata from SnowflakeConnection.__init__.
849849
850850 This test verifies that various inspection methods return consistent metadata,
851851 ensuring IDE support, type checking, and documentation generation work correctly.
852852 """
853853 import inspect
854854
855- from snowflake .connector .aio import SnowflakeConnection , connect
855+ # Use already imported snowflake.connector.aio
856+ connect = snowflake .connector .aio .connect
857+ SnowflakeConnection = snowflake .connector .aio .SnowflakeConnection
856858
857859 # Test 1: Check __name__ is correct
858860 assert (
You can’t perform that action at this time.
0 commit comments