Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #17222: make doctest deterministic
Browse files Browse the repository at this point in the history
One doctest had a random order of components. Make this deterministic
in order to avoid failing doctests when merged with current betas.
  • Loading branch information
cheuberg committed Sep 14, 2015
1 parent 95f02db commit c79211e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/combinat/fsm_fourier.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,8 @@ class FSMFourier(SageObject):
....: (-3, -1, 0, 3)],
....: initial_states=[0],
....: final_states=[0, 1, 2, -3, -2, -1]))
sage: [FC0, FC1] = F.components # optional - arb
sage: [FC0, FC1] = sorted(F.components, # optional - arb
....: key=lambda x:x.n_states, reverse=True)
sage: FC0.period # optional - arb
3
sage: FC1.period # optional - arb
Expand Down

0 comments on commit c79211e

Please sign in to comment.