11from sqlalchemy import __version__ as sa_version
2+ from sqlalchemy .testing import combinations
23from sqlalchemy .testing import skip
34from sqlalchemy .testing .suite import * # noqa
45from sqlalchemy .testing .suite import ComponentReflectionTest as _ComponentReflectionTest
@@ -13,7 +14,7 @@ def test_get_indexes(self, connection):
1314 if connection .dialect ._is_v202plus and sa_version >= "1.4" :
1415 super ().test_get_indexes (connection , None , None )
1516
16- @testing . combinations (
17+ @combinations (
1718 ("noncol_idx_test_nopk" , "noncol_idx_nopk" ),
1819 ("noncol_idx_test_pk" , "noncol_idx_pk" ),
1920 argnames = "tname,ixname" ,
@@ -33,7 +34,7 @@ def test_null_in_empty_set_is_false(self, connection):
3334
3435
3536class LongNameBlowoutTest (_LongNameBlowoutTest ):
36- @testing . combinations (
37+ @combinations (
3738 ("fk" ,),
3839 ("pk" ,),
3940 ("ix" ,),
@@ -51,19 +52,19 @@ class NumericTest(_NumericTest):
5152 def test_float_as_decimal (self , do_numeric_test ):
5253 # asyncpg.exceptions.DatatypeMismatchError: value type decimal doesn't match type
5354 # float4 of column "x"
54- if config .db .dialect .driver != "asyncpg" :
55+ if config .db .dialect .driver != "asyncpg" : # noqa
5556 super ().test_float_as_decimal (do_numeric_test )
5657
5758 def test_float_as_float (self , do_numeric_test ):
5859 # asyncpg.exceptions.DatatypeMismatchError: value type decimal doesn't match type
5960 # float4 of column "x"
60- if config .db .dialect .driver != "asyncpg" :
61+ if config .db .dialect .driver != "asyncpg" : # noqa
6162 super ().test_float_as_decimal (do_numeric_test )
6263
6364 def test_float_custom_scale (self , do_numeric_test ):
6465 # asyncpg.exceptions.DatatypeMismatchError: value type decimal doesn't match type
6566 # float4 of column "x"
66- if config .db .dialect .driver != "asyncpg" :
67+ if config .db .dialect .driver != "asyncpg" : # noqa
6768 super ().test_float_as_decimal (do_numeric_test )
6869
6970
0 commit comments