You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sage -t --long --random-seed=319675451421640445800652566785887159111 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 983, in sage.databases.oeis.OEISSequence.keywords
Failed example:
f = oeis(53) ; f # optional -- internet
Expected:
A000053: Local stops on New York City Broadway line (IRT #1) subway.
Got:
A000053: Local stops on New York City 1 Train (Broadway-7 Avenue Local) subway.
**********************************************************************
File "src/sage/databases/oeis.py", line 1632, in sage.databases.oeis.OEISSequence.cross_references
Failed example:
nbalanced.cross_references() # optional -- internet
Expected:
('A049703', 'A049695', 'A103116', 'A000010')
Got:
('A000010', 'A002088', 'A011755', 'A049695', 'A049703', 'A103116')
**********************************************************************
File "src/sage/databases/oeis.py", line 1635, in sage.databases.oeis.OEISSequence.cross_references
Failed example:
nbalanced.cross_references(fetch=True) # optional -- internet
Expected:
0: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
1: A049695: Array T read by diagonals; ...
2: A103116: a(n) = Sum_{i=1..n} (n-i+1)*phi(i).
3: A000010: Euler totient function phi(n): count numbers <= n and prime to n.
Got:
0: A000010: Euler totient function phi(n): count numbers <= n and prime to n.
1: A002088: Sum of totient function: a(n) = Sum_{k=1..n} phi(k), cf. A000010.
2: A011755: a(n) = Sum_{k=1..n} k*phi(k).
3: A049695: Array T read by diagonals; T(i,j) is the number of nonnegative slopes of lines determined by 2 lattice points in [ 0,i ] X [ 0,j ] if i > 0; T(0,j)=1 if j > 0; T(0,0)=0.
4: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
5: A103116: a(n) = Sum_{i=1..n} (n-i+1)*phi(i).
**********************************************************************
2 items had failures:
2 of 7 in sage.databases.oeis.OEISSequence.cross_references
1 of 7 in sage.databases.oeis.OEISSequence.keywords
5 webbrowser tests not run
0 tests not run because we ran out of time
[289 tests, 3 failures, 34.47 s]
Expected Behavior
All tests passes
Actual Behavior
3 failing doctests
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Fixes#35437
### 📚 Description
This branch fixes the doctests errors reported in #35437. However, this
solution is not robust to future changes in the oeis database.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x
]`. -->
- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.
### ⌛ Dependencies
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
URL: #35439
Reported by: David Coudert
Reviewer(s): Sébastien Labbé
Is there an existing issue for this?
Did you read the documentation and troubleshoot guide?
Environment
Steps To Reproduce
The command
returns
Expected Behavior
All tests passes
Actual Behavior
3 failing doctests
Additional Information
No response
The text was updated successfully, but these errors were encountered: