Skip to content

Commit ee99b99

Browse files
fix comparison
1 parent c42f5c9 commit ee99b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/queryset/test_queryset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4702,7 +4702,7 @@ class Container(Document):
47024702
).values_list("source__designator", "target__designator")
47034703
# This should not raise an AttributeError on NoneType for the second Container's target__designator
47044704
values = list(queryset)
4705-
assert values == ["value1", "value2", None]
4705+
assert values == [("value1", "value2"), ("value1", None)]
47064706

47074707
def test_scalar_decimal(self):
47084708
from decimal import Decimal

0 commit comments

Comments
 (0)