@@ -44,33 +44,14 @@ def test_binary(executor):
4444
4545
4646@dbtest
47- def test_table_and_columns_query_w_sqlean (executor ):
47+ def test_table_and_columns_query (executor ):
4848 run (executor , "create table a(x text, y text)" )
4949 run (executor , "create table b(z text)" )
5050 run (executor , "create table t(t text)" )
5151
52- if "sqlean" in sqlite3 .__file__ :
53- assert set (executor .tables ()) == set ([("a" ,), ("b" ,), ("t" ,)])
54- assert set (executor .table_columns ()) == set (
55- [
56- ("a" , "x" ),
57- ("a" , "y" ),
58- ("b" , "z" ),
59- ("t" , "t" ),
60- ]
61- )
62- assert set (executor .table_columns ()) == set (
63- [
64- ("a" , "x" ),
65- ("a" , "y" ),
66- ("b" , "z" ),
67- ("t" , "t" ),
68- ]
69- )
70- else :
71- assert set (executor .tables ()) == set ([("a" ,), ("b" ,), ("t" ,)])
72- assert set (executor .table_columns ()) == set ([("a" , "x" ), ("a" , "y" ), ("b" , "z" ), ("t" , "t" )])
73- assert set (executor .table_columns ()) == set ([("a" , "x" ), ("a" , "y" ), ("b" , "z" ), ("t" , "t" )])
52+ assert set (executor .tables ()) == set ([("a" ,), ("b" ,), ("t" ,)])
53+ assert set (executor .table_columns ()) == set ([("a" , "x" ), ("a" , "y" ), ("b" , "z" ), ("t" , "t" )])
54+ assert set (executor .table_columns ()) == set ([("a" , "x" ), ("a" , "y" ), ("b" , "z" ), ("t" , "t" )])
7455
7556
7657@dbtest
0 commit comments