@@ -46,6 +46,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
46
46
uses_savepoints = False
47
47
48
48
_django_test_expected_failures = {
49
+ # $concat only supports strings, not int
50
+ "db_functions.text.test_concat.ConcatTests.test_concat_non_str" ,
51
+ # QuerySet.order_by() with annotation transform doesn't work:
52
+ # "Expression $mod takes exactly 2 arguments. 1 were passed in"
53
+ # https://github.com/django/django/commit/b0ad41198b3e333f57351e3fce5a1fb47f23f376
54
+ "aggregation.tests.AggregateTestCase.test_order_by_aggregate_transform" ,
49
55
# 'NulledTransform' object has no attribute 'as_mql'.
50
56
"lookup.tests.LookupTests.test_exact_none_transform" ,
51
57
# "Save with update_fields did not affect any rows."
@@ -170,6 +176,7 @@ def django_test_expected_failures(self):
170
176
"fixtures.tests.FixtureLoadingTests.test_loading_and_dumping" ,
171
177
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
172
178
"m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
179
+ "many_to_many.tests.ManyToManyQueryTests.test_prefetch_related_no_queries_optimization_disabled" ,
173
180
"many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
174
181
"many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
175
182
"many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
@@ -227,8 +234,6 @@ def django_test_expected_failures(self):
227
234
"expressions.tests.BasicExpressionsTests.test_nested_subquery_outer_ref_with_autofield" ,
228
235
"model_fields.test_foreignkey.ForeignKeyTests.test_to_python" ,
229
236
"queries.test_qs_combinators.QuerySetSetOperationTests.test_order_raises_on_non_selected_column" ,
230
- "queries.tests.RelatedLookupTypeTests.test_values_queryset_lookup" ,
231
- "queries.tests.ValuesSubqueryTests.test_values_in_subquery" ,
232
237
},
233
238
"Cannot use QuerySet.delete() when querying across multiple collections on MongoDB." : {
234
239
"admin_changelist.tests.ChangeListTests.test_distinct_for_many_to_many_at_second_level_in_search_fields" ,
@@ -381,7 +386,11 @@ def django_test_expected_failures(self):
381
386
"delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
382
387
"expressions.tests.ExistsTests.test_optimizations" ,
383
388
"lookup.tests.LookupTests.test_in_ignore_none" ,
389
+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
384
390
"lookup.tests.LookupTests.test_textfield_exact_null" ,
391
+ "many_to_many.tests.ManyToManyQueryTests.test_count_join_optimization_disabled" ,
392
+ "many_to_many.tests.ManyToManyQueryTests.test_exists_join_optimization_disabled" ,
393
+ "many_to_many.tests.ManyToManyTests.test_custom_default_manager_exists_count" ,
385
394
"migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label" ,
386
395
"migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor" ,
387
396
"queries.tests.ExistsSql.test_exists" ,
0 commit comments