@@ -87,6 +87,10 @@ def is_cockroachdb_24_3(self):
8787 def is_cockroachdb_25_1 (self ):
8888 return self .connection .cockroachdb_version >= (25 , 1 )
8989
90+ @cached_property
91+ def is_cockroachdb_25_2 (self ):
92+ return self .connection .cockroachdb_version >= (25 , 2 )
93+
9094 @cached_property
9195 def django_test_expected_failures (self ):
9296 expected_failures = super ().django_test_expected_failures
@@ -287,6 +291,18 @@ def django_test_expected_failures(self):
287291 # data type of placeholder $1
288292 'expressions_case.tests.CaseExpressionTests.test_filter_with_expression_as_condition' ,
289293 })
294+ if self .is_cockroachdb_25_2 :
295+ expected_failures .update ({
296+ # concat(): error type checking resolved expression::
297+ # could not determine data type of placeholder $1
298+ 'aggregation_regress.tests.AggregationTests.test_aggregate_group_by_unseen_columns_unmanaged' ,
299+ 'db_functions.text.test_concat.ConcatTests.test_many' ,
300+ 'db_functions.text.test_concat.ConcatTests.test_mixed_char_text' ,
301+ 'db_functions.text.test_replace.ReplaceTests.test_replace_expression' ,
302+ 'expressions.tests.BasicExpressionsTests.test_slicing_of_f_expression_with_annotated_expression' ,
303+ 'filtered_relation.tests.FilteredRelationTests.test_condition_with_func_and_lookup_outside_relation_name' , # noqa
304+ 'select_for_update.tests.SelectForUpdateTests.test_for_update_of_values_list' ,
305+ })
290306 else :
291307 expected_failures .update ({
292308 # Unsupported query: unsupported binary operator: <int> / <int>:
0 commit comments