@@ -40,6 +40,12 @@ class DatabaseFeatures(BaseDatabaseFeatures):
4040 uses_savepoints = False
4141
4242 _django_test_expected_failures = {
43+ # $concat only supports strings, not int
44+ "db_functions.text.test_concat.ConcatTests.test_concat_non_str" ,
45+ # QuerySet.order_by() with annotation transform doesn't work:
46+ # "Expression $mod takes exactly 2 arguments. 1 were passed in"
47+ # https://github.com/django/django/commit/b0ad41198b3e333f57351e3fce5a1fb47f23f376
48+ "aggregation.tests.AggregateTestCase.test_order_by_aggregate_transform" ,
4349 # 'NulledTransform' object has no attribute 'as_mql'.
4450 "lookup.tests.LookupTests.test_exact_none_transform" ,
4551 # "Save with update_fields did not affect any rows."
@@ -70,6 +76,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
7076 # Connection creation doesn't follow the usual Django API.
7177 "backends.tests.ThreadTests.test_pass_connection_between_threads" ,
7278 "backends.tests.ThreadTests.test_default_connection_thread_local" ,
79+ "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
7380 # Object of type ObjectId is not JSON serializable.
7481 "auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key" ,
7582 # GenericRelation.value_to_string() assumes integer pk.
@@ -164,6 +171,7 @@ def django_test_expected_failures(self):
164171 "fixtures.tests.FixtureLoadingTests.test_loading_and_dumping" ,
165172 "m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_proxied" ,
166173 "m2m_through_regress.test_multitable.MultiTableTests.test_m2m_prefetch_reverse_proxied" ,
174+ "many_to_many.tests.ManyToManyQueryTests.test_prefetch_related_no_queries_optimization_disabled" ,
167175 "many_to_many.tests.ManyToManyTests.test_add_after_prefetch" ,
168176 "many_to_many.tests.ManyToManyTests.test_add_then_remove_after_prefetch" ,
169177 "many_to_many.tests.ManyToManyTests.test_clear_after_prefetch" ,
@@ -375,7 +383,11 @@ def django_test_expected_failures(self):
375383 "delete.tests.DeletionTests.test_only_referenced_fields_selected" ,
376384 "expressions.tests.ExistsTests.test_optimizations" ,
377385 "lookup.tests.LookupTests.test_in_ignore_none" ,
386+ "lookup.tests.LookupTests.test_lookup_direct_value_rhs_unwrapped" ,
378387 "lookup.tests.LookupTests.test_textfield_exact_null" ,
388+ "many_to_many.tests.ManyToManyQueryTests.test_count_join_optimization_disabled" ,
389+ "many_to_many.tests.ManyToManyQueryTests.test_exists_join_optimization_disabled" ,
390+ "many_to_many.tests.ManyToManyTests.test_custom_default_manager_exists_count" ,
379391 "migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label" ,
380392 "migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor" ,
381393 "queries.tests.ExistsSql.test_exists" ,
@@ -423,6 +435,7 @@ def django_test_expected_failures(self):
423435 "raw_query.tests.RawQueryTests" ,
424436 "schema.test_logging.SchemaLoggerTests.test_extra_args" ,
425437 "schema.tests.SchemaTests.test_remove_constraints_capital_letters" ,
438+ "test_utils.tests.AllowedDatabaseQueriesTests.test_allowed_database_copy_queries" ,
426439 "timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime" ,
427440 "timezones.tests.LegacyDatabaseTests.test_cursor_execute_returns_naive_datetime" ,
428441 "timezones.tests.LegacyDatabaseTests.test_raw_sql" ,
0 commit comments