<s> """<STR_LIT>""" <EOL> from . import exclusions <EOL> from . . import util <EOL> class Requirements ( object ) : <EOL> pass <EOL> class SuiteRequirements ( Requirements ) : <EOL> @ property <EOL> def create_table ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def drop_table ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def foreign_keys ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def on_update_cascade ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def non_updating_cascade ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def deferrable_fks ( self ) : <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def on_update_or_deferrable_fks ( self ) : <EOL> return exclusions . only_if ( <EOL> lambda : self . on_update_cascade . enabled or <EOL> self . deferrable_fks . enabled <EOL> ) <EOL> @ property <EOL> def self_referential_foreign_keys ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def foreign_key_ddl ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def named_constraints ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def subqueries ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def offset ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def bound_limit_offset ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def parens_in_union_contained_select_w_limit_offset ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def parens_in_union_contained_select_wo_limit_offset ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def boolean_col_expressions ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def nullsordering ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def standalone_binds ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def intersect ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def except_ ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def window_functions ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def autoincrement_insert ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def fetch_rows_post_commit ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def empty_inserts ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . only_if ( <EOL> lambda config : config . db . dialect . supports_empty_insert or <EOL> config . db . dialect . supports_default_values , <EOL> "<STR_LIT>" <EOL> ) <EOL> @ property <EOL> def insert_from_select ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def returning ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . only_if ( <EOL> lambda config : config . db . dialect . implicit_returning , <EOL> "<STR_LIT>" <EOL> ) <EOL> @ property <EOL> def duplicate_names_in_cursor_description ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def denormalized_names ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . skip_if ( <EOL> lambda config : not config . db . dialect . requires_name_normalize , <EOL> "<STR_LIT>" <EOL> ) <EOL> @ property <EOL> def multivalues_inserts ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . skip_if ( <EOL> lambda config : not config . db . dialect . supports_multivalues_insert , <EOL> "<STR_LIT>" <EOL> ) <EOL> @ property <EOL> def implements_get_lastrowid ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def emulated_lastrowid ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def dbapi_lastrowid ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def views ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def schemas ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def sequences ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . only_if ( [ <EOL> lambda config : config . db . dialect . supports_sequences <EOL> ] , "<STR_LIT>" ) <EOL> @ property <EOL> def sequences_optional ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . only_if ( [ <EOL> lambda config : config . db . dialect . supports_sequences and <EOL> config . db . dialect . sequences_optional <EOL> ] , "<STR_LIT>" ) <EOL> @ property <EOL> def reflects_pk_names ( self ) : <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def table_reflection ( self ) : <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def view_column_reflection ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . views <EOL> @ property <EOL> def view_reflection ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . views <EOL> @ property <EOL> def schema_reflection ( self ) : <EOL> return self . schemas <EOL> @ property <EOL> def primary_key_constraint_reflection ( self ) : <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def foreign_key_constraint_reflection ( self ) : <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def temp_table_reflection ( self ) : <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def temp_table_names ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def temporary_tables ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def temporary_views ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def index_reflection ( self ) : <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def unique_constraint_reflection ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def duplicate_key_raises_integrity_error ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def unbounded_varchar ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def unicode_data ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def unicode_ddl ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def datetime_literals ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def datetime ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def datetime_microseconds ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def datetime_historic ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def date ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def date_coerces_from_datetime ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def date_historic ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def time ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def time_microseconds ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def binary_comparisons ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def binary_literals ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def json_type ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def json_array_indexes ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . json_type <EOL> @ property <EOL> def precision_numerics_general ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def precision_numerics_enotation_small ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def precision_numerics_enotation_large ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def precision_numerics_many_significant_digits ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def precision_numerics_retains_significant_digits ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def precision_generic_float_type ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def floats_to_four_decimals ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def fetch_null_from_numeric ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def text_type ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def empty_strings_varchar ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def empty_strings_text ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def selectone ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def savepoints ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def two_phase_transactions ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def update_from ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def update_where_target_in_subquery ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def mod_operator_as_percent_sign ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def percent_schema_names ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def order_by_label_with_expression ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . closed ( ) <EOL> @ property <EOL> def unicode_connections ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def graceful_disconnects ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def skip_mysql_on_windows ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . open ( ) <EOL> @ property <EOL> def ad_hoc_engines ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . skip_if ( <EOL> lambda config : config . options . low_connections ) <EOL> @ property <EOL> def timing_intensive ( self ) : <EOL> return exclusions . requires_tag ( "<STR_LIT>" ) <EOL> @ property <EOL> def memory_intensive ( self ) : <EOL> return exclusions . requires_tag ( "<STR_LIT>" ) <EOL> @ property <EOL> def threading_with_mock ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . skip_if ( <EOL> lambda config : util . py3k and config . options . has_coverage , <EOL> "<STR_LIT>" <EOL> ) <EOL> @ property <EOL> def no_coverage ( self ) : <EOL> """<STR_LIT>""" <EOL> return exclusions . skip_if ( <EOL> lambda config : config . options . has_coverage , <EOL> "<STR_LIT>" <EOL> ) <EOL> def _has_mysql_on_windows ( self , config ) : <EOL> return False <EOL> def _has_mysql_fully_case_sensitive ( self , config ) : <EOL> return False <EOL> @ property <EOL> def sqlite ( self ) : <EOL> return exclusions . skip_if ( lambda : not self . _has_sqlite ( ) ) <EOL> @ property <EOL> def cextensions ( self ) : <EOL> return exclusions . skip_if ( <EOL> lambda : not self . _has_cextensions ( ) , "<STR_LIT>" <EOL> ) <EOL> def _has_sqlite ( self ) : <EOL> from sqlalchemy import create_engine <EOL> try : <EOL> create_engine ( '<STR_LIT>' ) <EOL> return True <EOL> except ImportError : <EOL> return False <EOL> def _has_cextensions ( self ) : <EOL> try : <EOL> from sqlalchemy import cresultproxy , cprocessors <EOL> return True <EOL> except ImportError : <EOL> return False </s>
