Skip to content

Commit f11bf9c

Browse files
committed
reclassify some expected test failures as skips
The behavior changed in edb9ec9.
1 parent 07dbb68 commit f11bf9c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

django_mongodb/features.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
4242
"ordering.tests.OrderingTests.test_order_by_f_expression",
4343
"ordering.tests.OrderingTests.test_order_by_f_expression_duplicates",
4444
"ordering.tests.OrderingTests.test_reverse_ordering_pure",
45-
# annotate() after values() doesn't raise NotSupportedError.
46-
"lookup.tests.LookupTests.test_exact_query_rhs_with_selected_columns",
47-
# tuple index out of range in process_rhs()
48-
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one",
49-
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset",
5045
# Pattern lookups that use regexMatch don't work on JSONField:
5146
# Unsupported conversion from array to string in $convert
5247
"model_fields.test_jsonfield.TestQuerying.test_icontains",
@@ -262,6 +257,9 @@ def django_test_expected_failures(self):
262257
"annotations.tests.NonAggregateAnnotationTestCase.test_empty_expression_annotation",
263258
"db_functions.comparison.test_coalesce.CoalesceTests.test_empty_queryset",
264259
"expressions_case.tests.CaseExpressionTests.test_in_subquery",
260+
"lookup.tests.LookupTests.test_exact_query_rhs_with_selected_columns",
261+
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one",
262+
"lookup.tests.LookupTests.test_exact_sliced_queryset_limit_one_offset",
265263
"lookup.tests.LookupTests.test_in_different_database",
266264
"model_fields.test_jsonfield.TestQuerying.test_usage_in_subquery",
267265
},

0 commit comments

Comments
 (0)