@@ -70,10 +70,10 @@ class Requirements(SuiteRequirementsSQLA, SuiteRequirementsAlembic):
7070 lambda config : not config .db .dialect ._is_v202plus ,
7171 "older versions don't support this correctly." ,
7272 )
73- # TODO: enable after 20.2 beta comes out
74- # check_constraint_reflection = \
75- # exclusions.skip_if(lambda config: not config.db.dialect._is_v202plus ,
76- # "older versions don't support this correctly." )
73+ check_constraint_reflection = exclusions . skip_if (
74+ lambda config : not config . db . dialect . _is_v202plus ,
75+ "older versions don't support this correctly." ,
76+ )
7777 cross_schema_fk_reflection = exclusions .closed ()
7878 non_updating_cascade = exclusions .open ()
7979 deferrable_fks = exclusions .closed ()
@@ -155,10 +155,16 @@ class Requirements(SuiteRequirementsSQLA, SuiteRequirementsAlembic):
155155 implicitly_named_constraints = exclusions .open ()
156156 supports_distinct_on = exclusions .open ()
157157
158+ @property
159+ def sync_driver (self ):
160+ return exclusions .skip_if (
161+ lambda config : config .db .dialect .is_async
162+ )
163+
158164 def get_isolation_levels (self , config ):
159165 return {"default" : "SERIALIZABLE" , "supported" : ["SERIALIZABLE" ]}
160166
161- # non-default requirements for Alembic test suite
167+ # non-default requirements for Alembic test suite
162168
163169 @property
164170 def autoincrement_on_composite_pk (self ):
0 commit comments