Skip to content

Commit 0e3334e

Browse files
author
Release Manager
committed
gh-39368: fix doctests for singular 4.4.1 Only output changes. Should work with singular 4.4.1 without breaking older singular. ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: #39368 Reported by: Gonzalo Tornaría Reviewer(s): Antonio Rojas
2 parents 51fd626 + a044237 commit 0e3334e

File tree

22 files changed

+148
-150
lines changed

22 files changed

+148
-150
lines changed

src/doc/de/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ Sages Singular-Schnittstelle (ohne die ``....:``):
198198
sage: R1 = singular.ring(0, '(x,y)', 'dp')
199199
sage: R1
200200
polynomial ring, over a field, global ordering
201-
// coefficients: QQ
202-
// number of vars : 2
201+
// coefficients: QQ...
202+
// number of vars : 2
203203
// block 1 : ordering dp
204204
// : names x y
205205
// block 2 : ordering C

src/doc/en/constructions/algebraic_geometry.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,12 @@ Other methods
162162

163163
sage: singular.LIB("brnoeth.lib")
164164
sage: s = singular.ring(2,'(x,y)','lp')
165-
...
166165
sage: f = singular.poly('x3y+y3+x')
167-
...
168166
sage: klein1 = f.Adj_div(); print(klein1)
169167
[1]:
170168
[1]:
171-
// coefficients: ZZ/2
172-
// number of vars : 2
169+
// coefficients: ZZ/2...
170+
// number of vars : 2
173171
// block 1 : ordering lp
174172
// : names x y
175173
// block 2 : ordering C
@@ -191,14 +189,14 @@ Other methods
191189
sage: print(klein1)
192190
[1]:
193191
[1]:
194-
// coefficients: ZZ/2
195-
// number of vars : 2
192+
// coefficients: ZZ/2...
193+
// number of vars : 2
196194
// block 1 : ordering lp
197195
// : names x y
198196
// block 2 : ordering C
199197
[2]:
200-
// coefficients: ZZ/2
201-
// number of vars : 3
198+
// coefficients: ZZ/2...
199+
// number of vars : 3
202200
// block 1 : ordering lp
203201
// : names x y z
204202
// block 2 : ordering C
@@ -214,8 +212,8 @@ Other methods
214212
[5]:
215213
[1]:
216214
[1]:
217-
// coefficients: ZZ/2
218-
// number of vars : 3
215+
// coefficients: ZZ/2...
216+
// number of vars : 3
219217
// block 1 : ordering ls
220218
// : names x y t
221219
// block 2 : ordering C

src/doc/en/constructions/rings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Here's an example using the Singular interface:
5757
sage: I = singular.ideal(['a+b+c+d', 'ab+ad+bc+cd', 'abc+abd+acd+bcd', 'abcd-1'])
5858
sage: R
5959
polynomial ring, over a field, global ordering
60-
// coefficients: ZZ/97
61-
// number of vars : 4
60+
// coefficients: ZZ/97...
61+
// number of vars : 4
6262
// block 1 : ordering lp
6363
// : names a b c d
6464
// block 2 : ordering C

src/doc/en/developer/coding_in_other.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ interface to Singular::
403403
sage: singular.LIB("brnoeth.lib")
404404
sage: singular.ring(5,'(x,y)','lp')
405405
polynomial ring, over a field, global ordering
406-
// coefficients: ZZ/5
407-
// number of vars : 2
406+
// coefficients: ZZ/5...
407+
// number of vars : 2
408408
// block 1 : ordering lp
409409
// : names x y
410410
// block 2 : ordering C

src/doc/en/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ Singular (do not type the ``....:``):
195195
sage: R1 = singular.ring(0, '(x,y)', 'dp')
196196
sage: R1
197197
polynomial ring, over a field, global ordering
198-
// coefficients: QQ
199-
// number of vars : 2
198+
// coefficients: QQ...
199+
// number of vars : 2
200200
// block 1 : ordering dp
201201
// : names x y
202202
// block 2 : ordering C

src/doc/fr/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ fournie par Sage (n'entrez pas les ``....:``) :
199199
sage: R1 = singular.ring(0, '(x,y)', 'dp')
200200
sage: R1
201201
polynomial ring, over a field, global ordering
202-
// coefficients: QQ
203-
// number of vars : 2
202+
// coefficients: QQ...
203+
// number of vars : 2
204204
// block 1 : ordering dp
205205
// : names x y
206206
// block 2 : ordering C

src/doc/ja/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ Singularは,グレブナー基底,多変数多項式のgcd,平面曲線の
171171
sage: R1 = singular.ring(0, '(x,y)', 'dp')
172172
sage: R1
173173
polynomial ring, over a field, global ordering
174-
// coefficients: QQ
175-
// number of vars : 2
174+
// coefficients: QQ...
175+
// number of vars : 2
176176
// block 1 : ordering dp
177177
// : names x y
178178
// block 2 : ordering C

src/doc/pt/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ digite ``...``):
197197
sage: R1 = singular.ring(0, '(x,y)', 'dp')
198198
sage: R1
199199
polynomial ring, over a field, global ordering
200-
// coefficients: QQ
201-
// number of vars : 2
200+
// coefficients: QQ...
201+
// number of vars : 2
202202
// block 1 : ordering dp
203203
// : names x y
204204
// block 2 : ordering C

src/doc/ru/tutorial/interfaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ Singular предоставляет массивную и продуманную
190190
sage: R1 = singular.ring(0, '(x,y)', 'dp')
191191
sage: R1
192192
polynomial ring, over a field, global ordering
193-
// coefficients: QQ
194-
// number of vars : 2
193+
// coefficients: QQ...
194+
// number of vars : 2
195195
// block 1 : ordering dp
196196
// : names x y
197197
// block 2 : ordering C

src/sage/categories/pushout.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3925,8 +3925,8 @@ class BlackBoxConstructionFunctor(ConstructionFunctor):
39253925
sage: FS = BlackBoxConstructionFunctor(singular)
39263926
sage: FS(QQ['t']) # needs sage.libs.singular
39273927
polynomial ring, over a field, global ordering
3928-
// coefficients: QQ
3929-
// number of vars : 1
3928+
// coefficients: QQ...
3929+
// number of vars : 1
39303930
// block 1 : ordering lp
39313931
// : names t
39323932
// block 2 : ordering C

0 commit comments

Comments
 (0)