Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 internet doctest failing in combinat/tutorial.py #26921

Closed
seblabbe opened this issue Dec 20, 2018 · 8 comments
Closed

1 internet doctest failing in combinat/tutorial.py #26921

seblabbe opened this issue Dec 20, 2018 · 8 comments

Comments

@seblabbe
Copy link
Contributor

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 item had failures:
   1 of 246 in sage.combinat.tutorial
    [245 tests, 1 failure, 7.66 s]
----------------------------------------------------------------------
sage -t src/sage/combinat/tutorial.py  # 1 doctest failed
----------------------------------------------------------------------

CC: @vinklein

Component: combinatorics

Keywords: thursdaysbdx

Author: Sébastien Labbé

Branch/Commit: f8ad4d1

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/26921

@seblabbe seblabbe added this to the sage-8.6 milestone Dec 20, 2018
@seblabbe
Copy link
Contributor Author

Branch: u/slabbe/26921

@seblabbe
Copy link
Contributor Author

New commits:

f8ad4d126921: fixing 1 failing internet doctest

@seblabbe
Copy link
Contributor Author

Author: Sébastien Labbé

@seblabbe
Copy link
Contributor Author

Commit: f8ad4d1

@seblabbe
Copy link
Contributor Author

Changed keywords from none to thursdaysbdx

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:4

ok

@vbraun
Copy link
Member

vbraun commented Dec 23, 2018

Changed branch from u/slabbe/26921 to f8ad4d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants