Skip to content

Commit c475a78

Browse files
committed
Reorder skiped test and remove toString in regex.
1 parent f1a4311 commit c475a78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

django_mongodb/features.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
88
supports_date_lookup_using_string = False
99
supports_foreign_keys = False
1010
supports_ignore_conflicts = False
11-
supports_json_field = True
1211
supports_json_field_contains = False
1312
has_native_json_field = True
1413
# BSON Date type doesn't support microsecond precision.
@@ -250,10 +249,9 @@ def django_test_expected_failures(self):
250249
"expressions.tests.NegatedExpressionTests.test_filter",
251250
"expressions_case.tests.CaseExpressionTests.test_annotate_values_not_in_order_by",
252251
"expressions_case.tests.CaseExpressionTests.test_order_by_conditional_implicit",
252+
"model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count",
253253
# annotate().filter().count() gives incorrect results.
254254
"db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_year_exact_lookup",
255-
# FieldDoesNotExist with ordering.
256-
"model_fields.test_jsonfield.TestQuerying.test_ordering_grouping_by_count",
257255
},
258256
"Count doesn't work in QuerySet.annotate()": {
259257
"annotations.tests.AliasTests.test_alias_annotate_with_aggregation",

0 commit comments

Comments
 (0)