@@ -96,6 +96,9 @@ class DatabaseFeatures(GISFeatures, BaseDatabaseFeatures):
9696 "model_fields.test_jsonfield.TestSaveLoad.test_bulk_update_custom_get_prep_value" ,
9797 # To debug: https://github.com/mongodb/django-mongodb-backend/issues/362
9898 "constraints.tests.UniqueConstraintTests.test_validate_case_when" ,
99+ # This backend overrides DatabaseCreation.create_test_db() so the
100+ # deprecation warnings stacklevel points to the wrong file.
101+ "backends.base.test_creation.TestDbCreationTests.test_serialize_deprecation" ,
99102 }
100103 # $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
101104 _django_test_expected_failures_bitwise = {
@@ -198,6 +201,7 @@ def django_test_expected_failures(self):
198201 "prefetch_related.tests.LookupOrderingTest.test_order" ,
199202 "prefetch_related.tests.MultiDbTests.test_using_is_honored_m2m" ,
200203 "prefetch_related.tests.MultiTableInheritanceTest" ,
204+ "prefetch_related.tests.PrefetchRelatedMTICacheTests" ,
201205 "prefetch_related.tests.PrefetchRelatedTests" ,
202206 "prefetch_related.tests.ReadPrefetchedObjectsCacheTests" ,
203207 "prefetch_related.tests.Ticket21410Tests" ,
@@ -560,6 +564,7 @@ def django_test_expected_failures(self):
560564 "Custom lookups are not supported." : {
561565 "custom_lookups.tests.BilateralTransformTests" ,
562566 "custom_lookups.tests.LookupTests.test_basic_lookup" ,
567+ "custom_lookups.tests.LookupTests.test_custom_lookup_with_subquery" ,
563568 "custom_lookups.tests.LookupTests.test_custom_name_lookup" ,
564569 "custom_lookups.tests.LookupTests.test_div3_extract" ,
565570 "custom_lookups.tests.SubqueryTransformTests.test_subquery_usage" ,
@@ -577,6 +582,9 @@ def django_test_expected_failures(self):
577582 "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_database_queries" ,
578583 "test_utils.tests.DisallowedDatabaseQueriesTests.test_disallowed_thread_database_connection" ,
579584 },
585+ "search lookup not supported on non-Atlas." : {
586+ "expressions.tests.BasicExpressionsTests.test_lookups_subquery" ,
587+ },
580588 }
581589
582590 @cached_property
0 commit comments