message: Simplify these Python tests
diff: @@ -2,6 +2,13 @@ import duckdb
  import os
  import pytest
  +def get_tables(con):
  + tbls = con.execute("SHOW TABLES").fetchall()
  + tbls = [x[0] for x in tbls]
  + tbls.sort()
  + return tbls
  +
  +
  def test_multiple_writes():
  try:
  os.remove("test.db")
  @@ -14,8 +21,8 @@ def test_multiple_writes():
  con2.close()
  con1.close()
  con3 = duckdb.connect("test.db")
  - tbls = con3.execute("select * from information_schema.tables").fetchall()
  - assert tbls == [('test', 'main', 'foo1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None), ('test', 'main', 'bar1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)] or tbls == [('test', 'main', 'bar1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None), ('test', 'main', 'foo1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)]
  + tbls = get_tables(con3)
  + assert tbls == ['bar1', 'foo1']
  del con1
  del con2
  del con3
  @@ -31,11 +38,11 @@ def test_multiple_writes_memory():
  con1.execute("CREATE TABLE foo1 as SELECT 1 as a, 2 as b")
  con2.execute("CREATE TABLE bar1 as SELECT 2 as a, 3 as b")
  con3 = duckdb.connect(":memory:")
  - tbls = con1.execute("select * from information_schema.tables").fetchall()
  - assert tbls == [('memory', 'main', 'foo1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)]
  - tbls = con2.execute("select * from information_schema.tables").fetchall()
  - assert tbls == [('memory', 'main', 'bar1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)]
  - tbls = con3.execute("select * from information_schema.tables").fetchall()
  + tbls = get_tables(con1)
  + assert tbls == ['foo1']
  + tbls = get_tables(con2)
  + assert tbls == ['bar1']
  + tbls = get_tables(con3)
  assert tbls == []
  del con1
  del con2
  @@ -47,8 +54,8 @@ def test_multiple_writes_named_memory():
  con1.execute("CREATE TABLE foo1 as SELECT 1 as a, 2 as b")
  con2.execute("CREATE TABLE bar1 as SELECT 2 as a, 3 as b")
  con3 = duckdb.connect(":memory:1")
  - tbls = con3.execute("select * from information_schema.tables").fetchall()
  - assert tbls == [('memory', 'main', 'foo1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None), ('memory', 'main', 'bar1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)] or tbls == [('memory', 'main', 'bar1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None), ('memory', 'main', 'foo1', 'BASE TABLE', None, None, None, None, None, 'YES', 'NO', None)]
  + tbls = get_tables(con3)
  + assert tbls == ['bar1', 'foo1']
  del con1
  del con2
  del con3
  