Skip to content

Commit 66dc5d2

Browse files
author
Matthias Koeppe
committed
Update # needs
1 parent 446a1c9 commit 66dc5d2

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

src/sage/doctest/fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ def reproducible_repr(val):
8080
frozenset(['a', 'b', 'c', 'd'])
8181
sage: print(reproducible_repr([1, frozenset("cab"), set("bar"), 0]))
8282
[1, frozenset(['a', 'b', 'c']), set(['a', 'b', 'r']), 0]
83-
sage: print(reproducible_repr({3.0:"three","2":"two",1:"one"}))
83+
sage: print(reproducible_repr({3.0: "three", "2": "two", 1: "one"})) # optional - sage.rings.real_mpfr
8484
{'2': 'two', 1: 'one', 3.00000000000000: 'three'}
85-
sage: print(reproducible_repr("foo\nbar")) # demonstrate default case
85+
sage: print(reproducible_repr("foo\nbar")) # demonstrate default case
8686
'foo\nbar'
8787
"""
8888

src/sage/symbolic/function.pyx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,11 @@ cdef class Function(SageObject):
642642
sage: hurwitz_zeta(1/2, b)
643643
hurwitz_zeta(1/2, [1.500000000 +/- 1.01e-10])
644644
645-
sage: iv = RIF(1, 1.0001)
646-
sage: airy_ai(iv)
645+
sage: iv = RIF(1, 1.0001) # needs sage.rings.real_interval_field
646+
647+
sage: airy_ai(iv) # needs sage.rings.real_interval_field
647648
airy_ai(1.0001?)
648-
sage: airy_ai(CIF(iv))
649+
sage: airy_ai(CIF(iv)) # needs sage.rings.complex_interval_field
649650
airy_ai(1.0001?)
650651
"""
651652
if isinstance(x, (float, complex)):

src/sage/tests/article_heuberger_krenn_kropf_fsm-in-sage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,14 +508,14 @@
508508
509509
sage: var('y') # optional - sage.symbolic
510510
y
511-
sage: def am_entry(trans): # optional - sage.symbolic
511+
sage: def am_entry(trans):
512512
....: return y^add(trans.word_out) / 2
513513
sage: A = W.adjacency_matrix(entry=am_entry) # optional - sage.symbolic
514514
515515
516516
Sage example in fsm-in-sage.tex, line 1097::
517517
518-
sage: latex.matrix_column_alignment('c') # optional - sage.symbolic
518+
sage: latex.matrix_column_alignment('c')
519519
520520
521521
Sage example in fsm-in-sage.tex, line 1099::

src/sage/tests/book_schilling_zabrocki_kschur_primer.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,17 @@
8484
8585
Sage example in ./kschurnotes/notes-mike-anne.tex, line 406::
8686
87-
sage: w = W.an_element(); w # long time
87+
sage: # long time
88+
sage: w = W.an_element(); w
8889
[ 2 0 0 1 -2]
8990
[ 2 0 0 0 -1]
9091
[ 1 1 0 0 -1]
9192
[ 1 0 1 0 -1]
9293
[ 1 0 0 1 -1]
93-
sage: w.reduced_word() # long time
94+
sage: w.reduced_word()
9495
[0, 1, 2, 3, 4]
95-
sage: w = W.from_reduced_word([2,1,0]) # long time
96-
sage: w.is_affine_grassmannian() # long time
96+
sage: w = W.from_reduced_word([2,1,0])
97+
sage: w.is_affine_grassmannian()
9798
True
9899
99100
Sage example in ./kschurnotes/notes-mike-anne.tex, line 464::

0 commit comments

Comments
 (0)