#26921 closed defect (fixed)

1 internet doctest failing in combinat/tutorial.py

Reported by: slabbe Owned by:
Priority: major Milestone: sage-8.6
Component: combinatorics Keywords: thursdaysbdx
Cc: vklein Merged in:
Authors: Sébastien Labbé Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: f8ad4d1 (Commits) Commit: f8ad4d1636dd9dc4f060af4e0d539bd4d8a18c0e
Dependencies: Stopgaps:

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 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
----------------------------------------------------------------------

Change History (5)

comment:1 Changed 12 months ago by slabbe

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

New commits:

f8ad4d126921: fixing 1 failing internet doctest

comment:2 Changed 12 months ago by slabbe

  • Keywords thursdaysbdx added

comment:3 Changed 12 months ago by slabbe

  • Cc vklein added

comment:4 Changed 12 months ago by chapoton

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

ok

comment:5 Changed 12 months 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.