Skip to content

Commit c1103d3

Browse files
prevent failure if table is already gone
1 parent 5a3a2b7 commit c1103d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_temporary_tables(test_client: Client):
234234
test_client.insert_df('temp_test_table', df, settings=session_settings)
235235
df = test_client.query_df('SELECT * FROM temp_test_table', settings=session_settings)
236236
assert len(df['field1']) == 4
237-
test_client.command('DROP TABLE temp_test_table', settings=session_settings)
237+
test_client.command('DROP TABLE IF EXISTS temp_test_table', settings=session_settings)
238238

239239

240240
def test_str_as_bytes(test_client: Client, table_context: Callable):

0 commit comments

Comments
 (0)