Skip to content

Commit 0aa8b11

Browse files
author
Release Manager
committed
gh-40304: fix randomness in output <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #40304 Reported by: Martin Rubey Reviewer(s): Dima Pasechnik
2 parents fde1956 + 146dba6 commit 0aa8b11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/rings/lazy_species.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,10 @@ def __call__(self, *args):
646646
sage: E = L.Sets()
647647
sage: A = L.undefined(1)
648648
sage: A.define(X*E(A))
649-
sage: A[5]
649+
sage: A[5] # random
650650
X*E_4 + X^2*E_3 + 3*X^3*E_2 + X*E_2(X^2) + 3*X^5
651+
sage: A[5] == X*E[4] + X^2*E[3] + 3*X^3*E[2] + X*E[2](X[1]^2) + 3*X^5
652+
True
651653
652654
sage: C = L.Cycles()
653655
sage: F = E(C(A))

0 commit comments

Comments
 (0)