Skip to content

Commit

Permalink
Trac #34762: Fix random chain complex doctest
Browse files Browse the repository at this point in the history
As reported in https://trac.sagemath.org/ticket/32544#comment:36.

URL: https://trac.sagemath.org/34762
Reported by: jhpalmieri
Ticket author(s): John Palmieri
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Nov 21, 2022
2 parents b3398f0 + 89fdaf3 commit d94c733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/homology/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def random_chain_complex(level=1):
sage: from sage.homology.tests import random_chain_complex
sage: C = random_chain_complex()
sage: C
sage: C # random
Chain complex with at most ... nonzero terms over Integer Ring
sage: len(C.nonzero_degrees()) in [1, 2]
sage: len(C.nonzero_degrees()) in [0, 1, 2]
True
sage: C.degree_of_differential() in [-1, 1]
True
Expand Down

0 comments on commit d94c733

Please sign in to comment.