@@ -42,6 +42,7 @@ def trino_connection(run_trino, request):
42
42
sqlalchemy_version () < "1.4" ,
43
43
reason = "columns argument to select() must be a Python list or other iterable"
44
44
)
45
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
45
46
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
46
47
def test_select_query (trino_connection ):
47
48
_ , conn = trino_connection
@@ -71,6 +72,7 @@ def assert_column(table, column_name, column_type):
71
72
sqlalchemy_version () < "1.4" ,
72
73
reason = "columns argument to select() must be a Python list or other iterable"
73
74
)
75
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
74
76
@pytest .mark .parametrize ('trino_connection' , ['system' ], indirect = True )
75
77
def test_select_specific_columns (trino_connection ):
76
78
_ , conn = trino_connection
@@ -240,6 +242,7 @@ def test_insert_multiple_statements(trino_connection):
240
242
sqlalchemy_version () < "1.4" ,
241
243
reason = "columns argument to select() must be a Python list or other iterable"
242
244
)
245
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
243
246
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
244
247
def test_operators (trino_connection ):
245
248
_ , conn = trino_connection
@@ -260,6 +263,7 @@ def test_operators(trino_connection):
260
263
sqlalchemy_version () < "1.4" ,
261
264
reason = "columns argument to select() must be a Python list or other iterable"
262
265
)
266
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
263
267
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
264
268
def test_conjunctions (trino_connection ):
265
269
_ , conn = trino_connection
@@ -300,6 +304,7 @@ def test_textual_sql(trino_connection):
300
304
sqlalchemy_version () < "1.4" ,
301
305
reason = "columns argument to select() must be a Python list or other iterable"
302
306
)
307
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
303
308
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
304
309
def test_alias (trino_connection ):
305
310
_ , conn = trino_connection
@@ -323,6 +328,7 @@ def test_alias(trino_connection):
323
328
sqlalchemy_version () < "1.4" ,
324
329
reason = "columns argument to select() must be a Python list or other iterable"
325
330
)
331
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
326
332
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
327
333
def test_subquery (trino_connection ):
328
334
_ , conn = trino_connection
@@ -341,6 +347,7 @@ def test_subquery(trino_connection):
341
347
sqlalchemy_version () < "1.4" ,
342
348
reason = "columns argument to select() must be a Python list or other iterable"
343
349
)
350
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
344
351
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
345
352
def test_joins (trino_connection ):
346
353
_ , conn = trino_connection
@@ -360,6 +367,7 @@ def test_joins(trino_connection):
360
367
sqlalchemy_version () < "1.4" ,
361
368
reason = "columns argument to select() must be a Python list or other iterable"
362
369
)
370
+ @pytest .mark .skipif (trino_version () == 351 , reason = "connector name is not available in older Trino versions" )
363
371
@pytest .mark .parametrize ('trino_connection' , ['tpch' ], indirect = True )
364
372
def test_cte (trino_connection ):
365
373
_ , conn = trino_connection
0 commit comments