File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
102
102
# 'Col' object has no attribute 'utcoffset'
103
103
"expressions.tests.IterableLookupInnerExpressionsTests.test_expressions_in_lookups_join_choice" ,
104
104
"expressions.tests.IterableLookupInnerExpressionsTests.test_in_lookup_allows_F_expressions_and_expressions_for_datetimes" ,
105
- # pymongo.errors.OperationFailure: $multiply only supports numeric
106
- # types, not date. (should be wrapped in DatabaseError).
107
- "expressions.tests.FTimeDeltaTests.test_invalid_operator" ,
108
105
# alias().order_by() doesn't work.
109
106
"annotations.tests.AliasTests.test_order_by_alias" ,
110
107
# annotate() + values_list() + order_by() loses annotated value.
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ def delete(self):
91
91
options = self .connection .operation_flags .get ("delete" , {})
92
92
return self .collection .delete_many (self .mongo_query , ** options ).deleted_count
93
93
94
+ @wrap_database_errors
94
95
def get_cursor (self ):
95
96
if self .query .low_mark == self .query .high_mark :
96
97
return []
You can’t perform that action at this time.
0 commit comments