@@ -441,6 +441,8 @@ def test_transfer_transfers_all_tables_from_mysql_to_sqlite(
441441 for table_name in sqlite_tables :
442442 for sqlite_index in sqlite_inspect .get_indexes (table_name ):
443443 sqlite_index ["unique" ] = bool (sqlite_index ["unique" ])
444+ if "dialect_options" in sqlite_index :
445+ sqlite_index .pop ("dialect_options" , None )
444446 assert sqlite_index in mysql_indices
445447
446448 """ Test if all the tables have the same foreign keys """
@@ -929,6 +931,8 @@ def test_transfer_specific_tables_transfers_only_specified_tables_from_mysql_to_
929931 for table_name in sqlite_tables :
930932 for sqlite_index in sqlite_inspect .get_indexes (table_name ):
931933 sqlite_index ["unique" ] = bool (sqlite_index ["unique" ])
934+ if "dialect_options" in sqlite_index :
935+ sqlite_index .pop ("dialect_options" , None )
932936 assert sqlite_index in mysql_indices
933937
934938 """ Check if all the data was transferred correctly """
@@ -1195,6 +1199,8 @@ def test_transfer_limited_rows_from_mysql_to_sqlite(
11951199 for table_name in sqlite_tables :
11961200 for sqlite_index in sqlite_inspect .get_indexes (table_name ):
11971201 sqlite_index ["unique" ] = bool (sqlite_index ["unique" ])
1202+ if "dialect_options" in sqlite_index :
1203+ sqlite_index .pop ("dialect_options" , None )
11981204 assert sqlite_index in mysql_indices
11991205
12001206 """ Test if all the tables have the same foreign keys """
0 commit comments