File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def test_connection_returns_successfully_when_import_extension_fails(
9191 assert result is not None
9292 # check that spatial and excel extensions are not loaded as import extension failed
9393 result = result [result ["extension_name" ].isin (["spatial" , "excel" ])]
94- assert result ["loaded" ]. all () == False
94+ assert all ( result ["loaded" ]) is False
9595
9696
9797@mock .patch ("duckdb.DuckDBPyConnection.load_extension" )
@@ -106,7 +106,7 @@ def test_connection_returns_successfully_when_load_extension_fails(mock_load_ext
106106 assert result is not None
107107 # check that spatial and excel extensions are not loaded as import extension failed
108108 result = result [result ["extension_name" ].isin (["spatial" , "excel" ])]
109- assert result ["loaded" ]. all () == False
109+ assert all ( result ["loaded" ]) is False
110110
111111
112112def test_excel_extension_roundtrip (duckdb_connection , tmp_path ):
You can’t perform that action at this time.
0 commit comments