@@ -43,12 +43,14 @@ def test_sql_flush(self):
4343
4444    def  test_sql_flush_empty_table_list (self ):
4545        self .assertEqual (
46-             self .db_operations .sql_flush (style = no_style (), tables = []), [],
46+             self .db_operations .sql_flush (style = no_style (), tables = []),
47+             [],
4748        )
4849
4950    def  test_adapt_datefield_value (self ):
5051        self .assertIsInstance (
51-             self .db_operations .adapt_datefield_value ("dummy_date" ), DateStr ,
52+             self .db_operations .adapt_datefield_value ("dummy_date" ),
53+             DateStr ,
5254        )
5355
5456    def  test_adapt_datefield_value_none (self ):
@@ -204,7 +206,8 @@ def test_combine_expression_bit_extention(self):
204206
205207    def  test_combine_expression_multiply (self ):
206208        self .assertEqual (
207-             self .db_operations .combine_expression ("*" , ["10" , "2" ]), "10 * 2" ,
209+             self .db_operations .combine_expression ("*" , ["10" , "2" ]),
210+             "10 * 2" ,
208211        )
209212
210213    def  test_combine_duration_expression_add (self ):
@@ -235,10 +238,16 @@ def test_combine_duration_expression_database_error(self):
235238
236239    def  test_lookup_cast_match_lookup_type (self ):
237240        self .assertEqual (
238-             self .db_operations .lookup_cast ("contains" ,), "CAST(%s AS STRING)" ,
241+             self .db_operations .lookup_cast (
242+                 "contains" ,
243+             ),
244+             "CAST(%s AS STRING)" ,
239245        )
240246
241247    def  test_lookup_cast_unmatched_lookup_type (self ):
242248        self .assertEqual (
243-             self .db_operations .lookup_cast ("dummy" ,), "%s" ,
249+             self .db_operations .lookup_cast (
250+                 "dummy" ,
251+             ),
252+             "%s" ,
244253        )
0 commit comments