@@ -68,15 +68,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
6868 "aggregation.tests.AggregateTestCase.test_reverse_fkey_annotate" ,
6969 "aggregation_regress.tests.AggregationTests.test_annotation_disjunction" ,
7070 "aggregation_regress.tests.AggregationTests.test_decimal_aggregate_annotation_filter" ,
71- # QuerySet.extra(select=...) should raise NotSupportedError instead of:
72- # 'RawSQL' object has no attribute 'as_mql'.
73- "aggregation_regress.tests.AggregationTests.test_annotate_with_extra" ,
74- "aggregation_regress.tests.AggregationTests.test_annotation" ,
75- "aggregation_regress.tests.AggregationTests.test_more_more3" ,
76- "aggregation_regress.tests.AggregationTests.test_more_more_more3" ,
77- # QuerySet.extra(where=...) should raise NotSupportedError instead of:
78- # 'ExtraWhere' object has no attribute 'as_mql'.
79- "many_to_one.tests.ManyToOneTests.test_selects" ,
8071 # Incorrect JOIN with GenericRelation gives incorrect results.
8172 "aggregation_regress.tests.AggregationTests.test_aggregation_with_generic_reverse_relation" ,
8273 "generic_relations.tests.GenericRelationsTests.test_queries_content_type_restriction" ,
@@ -484,6 +475,7 @@ def django_test_expected_failures(self):
484475 "delete_regress.tests.Ticket19102Tests.test_ticket_19102_extra" ,
485476 "lookup.tests.LookupTests.test_values" ,
486477 "lookup.tests.LookupTests.test_values_list" ,
478+ "many_to_one.tests.ManyToOneTests.test_selects" ,
487479 "ordering.tests.OrderingTests.test_extra_ordering" ,
488480 "ordering.tests.OrderingTests.test_extra_ordering_quoting" ,
489481 "ordering.tests.OrderingTests.test_extra_ordering_with_table_name" ,
@@ -519,6 +511,10 @@ def django_test_expected_failures(self):
519511 },
520512 "Test executes raw SQL." : {
521513 "aggregation.tests.AggregateTestCase.test_coalesced_empty_result_set" ,
514+ "aggregation_regress.tests.AggregationTests.test_annotate_with_extra" ,
515+ "aggregation_regress.tests.AggregationTests.test_annotation" ,
516+ "aggregation_regress.tests.AggregationTests.test_more_more3" ,
517+ "aggregation_regress.tests.AggregationTests.test_more_more_more3" ,
522518 "annotations.tests.NonAggregateAnnotationTestCase.test_raw_sql_with_inherited_field" ,
523519 "backends.base.test_base.ExecuteWrapperTests" ,
524520 "backends.tests.BackendTestCase.test_cursor_contextmanager" ,
0 commit comments