Skip to content

Commit 7607de8

Browse files
committed
fine tuning the bad doctest
1 parent 7824708 commit 7607de8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/sage/doctest/forker.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,12 @@ def init_sage(controller=None):
151151
sage: s = sympify('+x^'.join(str(i) for i in range(30)))
152152
sage: print(PrettyPrinter(settings={'wrap_line': True}).doprint(s))
153153
29 28 27 26 25 24 23 22 21 20 19 18 17...
154-
x + x + x + x + x + x + x + x + x + x + x + x + x +...
154+
x + x + x + x + x + x + x + x + x + x + x + x + x...
155155
<BLANKLINE>
156-
...16 15 14 13 12 11 10 9 8 7 6 5 4 3...
157-
...x + x + x + x + x + x + x + x + x + x + x + x + x + x +...
156+
... 16 15 14 13 12 11 10 9 8 7 6 5 4 3...
157+
...x + x + x + x + x + x + x + x + x + x + x + x + x + x...
158158
<BLANKLINE>
159-
...2
160-
...x + x
161-
159+
...
162160
163161
The displayhook sorts dictionary keys to simplify doctesting of
164162
dictionary output::

0 commit comments

Comments
 (0)