Skip to content

Commit 8081c7c

Browse files
author
Release Manager
committed
sagemathgh-39489: fix several oeis related doctests
by using ... to make the doctests more robusts ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#39489 Reported by: Frédéric Chapoton Reviewer(s):
2 parents 5d61ca4 + f7438fc commit 8081c7c

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

build/pkgs/configure/checksums.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=db7e875cd888f974f7de2c038b2ae75ea5a31b1b
3-
sha256=c905a38a83d6f718258cab25cb643c574fdb600016605c5e252584271bf6ac53
2+
sha1=fb58bd837be257cd014904729657f46aebece6f2
3+
sha256=e7c707399bbcff62df9ea8096c73807a1ecc408e9514efd1e063cb7dc571a93f
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
00c302e55c156a7dd678229ff976ed90ce3d5161
1+
ca45c981479f6e1efa9ee4d164f82a37854605ca

src/doc/en/developer/coding_basics.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,9 +1308,7 @@ framework. Here is a comprehensive list:
13081308
For lines that require an internet connection::
13091309

13101310
sage: oeis(60843) # optional - internet
1311-
A060843: Busy Beaver problem: a(n) = maximal number of steps that an
1312-
n-state Turing machine can make on an initially blank tape before
1313-
eventually halting.
1311+
A060843: ...
13141312

13151313
- **known bugs:** For lines that describe known bugs, you can use ``# optional - bug``,
13161314
although ``# known bug`` is preferred.

src/sage/combinat/quickref.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
Integer Sequences::
55
66
sage: s = oeis([1,3,19,211]); s # optional - internet
7-
0: A000275: Coefficients of a Bessel function (reciprocal of J_0(z));
8-
also pairs of permutations with rise/rise forbidden.
7+
0: A000275: ...
98
sage: s[0].programs() # optional - internet
109
[('maple', ...),
1110
('mathematica', ...),

src/sage/combinat/species/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def SimpleGraphSpecies():
5656
5757
sage: seq = S.isotype_generating_series().counts(6)[1:] # needs sage.modules
5858
sage: oeis(seq)[0] # optional - internet # needs sage.modules
59-
A000088: Number of graphs on n unlabeled nodes.
59+
A000088: ...
6060
6161
::
6262

src/sage/rings/lazy_series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,8 +1482,8 @@ def define(self, s):
14821482
sage: f
14831483
1 + t + t^2 + 2*t^3 + 6*t^4 + 23*t^5 + 104*t^6 + O(t^7)
14841484
sage: oeis(f[1:20]) # optional - internet
1485-
0: A030266: Shifts left under COMPOSE transform with itself.
1486-
1: A110447: Permutations containing 3241 patterns only as part of 35241 patterns.
1485+
0: A030266: ...
1486+
1: A110447: ...
14871487
14881488
The following can only work for power series, where we have a
14891489
minimal valuation of `0`::

0 commit comments

Comments
 (0)