#17702: Fix long doctest in designs
-------------------------------------+-------------------------------------
Reporter: gouezel | Owner:
Type: defect | Status: new
Priority: trivial | Milestone: sage-6.5
Component: combinatorial designs | Keywords:
Merged in: | Authors: Sebastien Gouezel
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------------------+-------------------------------------
The following doctest is taken from
`combinat/designs/orthogonal_arrays.py`:
{{{
sage: iOA = designs.incomplete_orthogonal_array(10,153,[9]*10) # long time
sage: OA9 = designs.orthogonal_arrays.build(10,9)
sage: for i in range(10):
....: iOA.extend([[153-9*(i+1)+x for x in B] for B in OA9])
sage: is_orthogonal_array(iOA,10,153)
True
}}}
It fails if tested without `--long` since the first line is not executed,
so `iOA` is not defined in subsequent calls.
--
Ticket URL: <http://trac.sagemath.org/ticket/17702>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.