>
> But one's interface shouldn't be dictated by what the doctester can
> and can't do.
I agree.
> Does anyone know if there's a reason the standard
> doctest flags (like #doctest: -ELLIPSES) don't work properly in Sage's
> tests?
>
I investigated this. The doctest options(flags) is imp
On Mon, Jul 11, 2016 at 1:21 PM, Andrew wrote:
> Thanks David and Erik for your replies. I could not disable the doct-tests
> so I have changed my output to:
>
> sage: print(CartanType(['A', oo]).ascii_art())
> ..---O---O---O---O---O---O---O---..
> -3 -2 -1 0 1 2 3
>
>
> which I thin
Thanks David and Erik for your replies. I could not disable the doct-tests
so I have changed my output to:
sage: print(CartanType(['A', oo]).ascii_art())
..---O---O---O---O---O---O---O---..
-3 -2 -1 0 1 2 3
which I think is good enough.
Andrew
On Friday, 8 July 2016 10:34:31
On Thu, Jul 7, 2016 at 1:13 PM, Andrew wrote:
> Hi!
>
> How do you doc-test output that starts with ...? The particular output that
> I want to test is:
>
> sage: print(CartanType(['A', oo]).ascii_art())
> ...---O---O---O---O---O---O---O---...
> -3 -2 -1 0 1 2 3
>
> but sage complai
On Jul 7, 2016 07:13, "Andrew" wrote:
>
> Hi!
>
> How do you doc-test output that starts with ...? The particular output
that I want to test is:
>
> sage: print(CartanType(['A', oo]).ascii_art())
> ...---O---O---O---O---O---O---O---...
> -3 -2 -1 0 1 2 3
>
You could do
sage: print(
Hi!
How do you doc-test output that starts with ...? The particular output that
I want to test is:
sage: print(CartanType(['A', oo]).ascii_art())
...---O---O---O---O---O---O---O---...
-3 -2 -1 0 1 2 3
but sage complains with:
ValueError: line 6 of the docstring for sage.combi