@@ -46,6 +46,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
4646 uses_savepoints = False
4747
4848 _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" ,
4955 # 'NulledTransform' object has no attribute 'as_mql'.
5056 "lookup.tests.LookupTests.test_exact_none_transform" ,
5157 # "Save with update_fields did not affect any rows."
@@ -76,6 +82,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
7682 # Connection creation doesn't follow the usual Django API.
7783 "backends.tests.ThreadTests.test_pass_connection_between_threads" ,
7884 "backends.tests.ThreadTests.test_default_connection_thread_local" ,
85+ "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
7986 # Object of type ObjectId is not JSON serializable.
8087 "auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key" ,
8188 # GenericRelation.value_to_string() assumes integer pk.
@@ -175,6 +182,7 @@ def django_test_expected_failures(self):
175182 "fixtures.tests.FixtureLoadingTests.test_loading_and_dumping" ,
176183 "m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
177184 "m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
185+ "many_to_many.tests.ManyToManyQueryTests.test_prefetch_related_no_queries_optimization_disabled" ,
178186 "many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
179187 "many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
180188 "many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
@@ -386,7 +394,11 @@ def django_test_expected_failures(self):
386394 "delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
387395 "expressions.tests.ExistsTests.test_optimizations" ,
388396 "lookup.tests.LookupTests.test_in_ignore_none" ,
397+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
389398 "lookup.tests.LookupTests.test_textfield_exact_null" ,
399+ "many_to_many.tests.ManyToManyQueryTests.test_count_join_optimization_disabled" ,
400+ "many_to_many.tests.ManyToManyQueryTests.test_exists_join_optimization_disabled" ,
401+ "many_to_many.tests.ManyToManyTests.test_custom_default_manager_exists_count" ,
390402 "migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label" ,
391403 "migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor" ,
392404 "queries.tests.ExistsSql.test_exists" ,
@@ -434,6 +446,7 @@ def django_test_expected_failures(self):
434446 "raw_query.tests.RawQueryTests" ,
435447 "schema.test_logging.SchemaLoggerTests.test_extra_args" ,
436448 "schema.tests.SchemaTests.test_remove_constraints_capital_letters" ,
449+ "test_utils.tests.AllowedDatabaseQueriesTests.test_allowed_database_copy_queries" ,
437450 "timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime" ,
438451 "timezones.tests.LegacyDatabaseTests.test_cursor_execute_returns_naive_datetime" ,
439452 "timezones.tests.LegacyDatabaseTests.test_raw_sql" ,
0 commit comments