@@ -26,6 +26,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
26
26
uses_savepoints = False
27
27
28
28
_django_test_expected_failures = {
29
+ # $concat only supports strings, not int
30
+ "db_functions.text.test_concat.ConcatTests.test_concat_non_str" ,
31
+ # QuerySet.order_by() with annotation transform doesn't work:
32
+ # "Expression $mod takes exactly 2 arguments. 1 were passed in"
33
+ # https://github.com/django/django/commit/b0ad41198b3e333f57351e3fce5a1fb47f23f376
34
+ "aggregation.tests.AggregateTestCase.test_order_by_aggregate_transform" ,
29
35
# Database defaults not supported: bson.errors.InvalidDocument:
30
36
# cannot encode object: <django.db.models.expressions.DatabaseDefault
31
37
"basic.tests.ModelInstanceCreationTests.test_save_primary_with_db_default" ,
@@ -51,7 +57,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
51
57
# Length of null considered zero rather than null.
52
58
"db_functions.text.test_length.LengthTests.test_basic" ,
53
59
# range lookup includes incorrect values.
54
- "expressions.tests.IterableLookupInnerExpressionsTests.test_expressions_in_lookups_join_choice " ,
60
+ "expressions.tests.IterableLookupInnerExpressionsTests.test_expressions_range_lookups_join_choice " ,
55
61
# Unexpected alias_refcount in alias_map.
56
62
"queries.tests.Queries1Tests.test_order_by_tables" ,
57
63
# The $sum aggregation returns 0 instead of None for null.
@@ -178,6 +184,7 @@ def django_test_expected_failures(self):
178
184
"expressions.tests.BasicExpressionsTests.test_case_in_filter_if_boolean_output_field" ,
179
185
"expressions.tests.BasicExpressionsTests.test_exists_in_filter" ,
180
186
"expressions.tests.BasicExpressionsTests.test_order_by_exists" ,
187
+ "expressions.tests.BasicExpressionsTests.test_slicing_of_outerref" ,
181
188
"expressions.tests.BasicExpressionsTests.test_subquery" ,
182
189
"expressions.tests.ExistsTests.test_filter_by_empty_exists" ,
183
190
"expressions.tests.ExistsTests.test_negated_empty_exists" ,
@@ -298,6 +305,7 @@ def django_test_expected_failures(self):
298
305
"queries.tests.EmptyQuerySetTests.test_values_subquery" ,
299
306
"queries.tests.ExcludeTests.test_exclude_subquery" ,
300
307
"queries.tests.NullInExcludeTest.test_null_in_exclude_qs" ,
308
+ "queries.tests.Queries1Tests.test_combining_does_not_mutate" ,
301
309
"queries.tests.Queries1Tests.test_ticket9985" ,
302
310
"queries.tests.Queries1Tests.test_ticket9997" ,
303
311
"queries.tests.Queries1Tests.test_ticket10742" ,
@@ -414,6 +422,7 @@ def django_test_expected_failures(self):
414
422
"aggregation.tests.AggregateTestCase.test_count_star" ,
415
423
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
416
424
"lookup.tests.LookupTests.test_in_ignore_none" ,
425
+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
417
426
"lookup.tests.LookupTests.test_textfield_exact_null" ,
418
427
"queries.tests.ExistsSql.test_exists" ,
419
428
"queries.tests.Queries6Tests.test_col_alias_quoted" ,
0 commit comments