Skip to content

Commit 3c04e6d

Browse files
committed
Edits
1 parent 8410a5a commit 3c04e6d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

django_mongodb_backend/features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8686
# Value.as_mql() doesn't call output_field.get_db_prep_save():
8787
# https://github.com/mongodb/django-mongodb-backend/issues/282
8888
"model_fields.test_jsonfield.TestSaveLoad.test_bulk_update_custom_get_prep_value",
89-
"model_fields_.test_embedded_model_array.QueryingTests.test_array_annotation_index",
9089
}
9190
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
9291
_django_test_expected_failures_bitwise = {

tests/model_fields_/test_embedded_model_array.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import unittest
12
from datetime import date
23

34
from django.core.exceptions import FieldDoesNotExist
@@ -343,6 +344,7 @@ def test_arrayfield_annotation_lookups(self):
343344
).filter(**kwargs)
344345
self.assertCountEqual(result, expected)
345346

347+
@unittest.expectedFailure
346348
def test_array_annotation_index(self):
347349
# This test would be useful to have, but it cannot be implemented
348350
# due to the current annotation handling.

0 commit comments

Comments
 (0)