Skip to content

Commit 152c47f

Browse files
committed
fix
1 parent c8b88af commit 152c47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/categories/sets_cat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,7 @@ def random_element(self, *args):
24722472
sage: c2 = C.random_element(4,7)
24732473
sage: c2 # random
24742474
(6, 5, 6, 4, 5, 6, 6, 4, 5, 5)
2475-
sage: all(4 <= i < 7 for i in c2)
2475+
sage: all(4 <= i <= 7 for i in c2)
24762476
True
24772477
"""
24782478
return self._cartesian_product_of_elements(

0 commit comments

Comments
 (0)