Opened 4 years ago

Closed 4 years ago

1 internet doctest failing in combinat/tutorial.py

Reported by: Owned by: slabbe major sage-8.6 combinatorics thursdaysbdx vklein Sébastien Labbé Frédéric Chapoton N/A f8ad4d1 f8ad4d1636dd9dc4f060af4e0d539bd4d8a18c0e

Description

The command

```sage -t --optional=sage,internet src/sage/combinat/tutorial.py
```

gives

```sage -t src/sage/combinat/tutorial.py
**********************************************************************
File "src/sage/combinat/tutorial.py", line 224, in sage.combinat.tutorial
Failed example:
oeis([1,1,2,5,14])                            # optional -- internet
Expected:
0: A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = (2n)!/(n!(n+1)!). Also called Segner numbers.
1: A120588: G.f. satisfies: 3*A(x) = 2 + x + A(x)^2, with a(0) = 1.
2: ...
Got:
0: A000108: Catalan numbers: C(n) = binomial(2n,n)/(n+1) = (2n)!/(n!(n+1)!). Also called Segner numbers.
1: A124302: Number of set partitions with at most 3 blocks; number of Dyck paths of height at most 4; dimension of space of symmetric polynomials in 3 noncommuting variables.
2: A120588: G.f. satisfies: 3*A(x) = 2 + x + A(x)^2, with a(0) = 1.
**********************************************************************
1 of 246 in sage.combinat.tutorial
[245 tests, 1 failure, 7.66 s]
----------------------------------------------------------------------
sage -t src/sage/combinat/tutorial.py  # 1 doctest failed
----------------------------------------------------------------------
```

comment:1 Changed 4 years ago by slabbe

• Authors set to Sébastien Labbé
• Branch set to u/slabbe/26921
• Status changed from new to needs_review

New commits:

 ​f8ad4d1 `26921: fixing 1 failing internet doctest`

comment:4 Changed 4 years ago by chapoton

• Reviewers set to Frédéric Chapoton
• Status changed from needs_review to positive_review

ok

comment:5 Changed 4 years ago by vbraun

• Branch changed from u/slabbe/26921 to f8ad4d1636dd9dc4f060af4e0d539bd4d8a18c0e
• Resolution set to fixed
• Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.