Opened 4 years ago

Closed 4 years ago

#21735 closed defect (duplicate)

failing doctests with optional package database_jones_numfield

Reported by: vdelecroix Owned by:
Priority: blocker Milestone: sage-duplicate/invalid/wontfix
Component: packages: optional Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by vdelecroix)

DUPLICATE OF #21692

sage -t --long src/sage/databases/jones.py
**********************************************************************
File "src/sage/databases/jones.py", line 44, in sage.databases.jones
Failed example:
    J.ramified_at(101)                                             # optional - database_jones_numfield
Expected:
    [Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
Got:
    [Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
**********************************************************************
File "src/sage/databases/jones.py", line 168, in sage.databases.jones.JonesDatabase.unramified_outside
Failed example:
    J.unramified_outside([101,109]) # optional - database_jones_numfield
Expected:
    [Number Field in a with defining polynomial x - 1,
     Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^2 - 109,
     Number Field in a with defining polynomial x^3 - x^2 - 36*x + 4,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^4 - x^3 + 14*x^2 + 34*x + 393,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
Got:
    [Number Field in a with defining polynomial x - 1,
     Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^2 - 109,
     Number Field in a with defining polynomial x^3 - x^2 - 36*x + 4,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^4 - x^3 + 14*x^2 + 34*x + 393,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
**********************************************************************
File "src/sage/databases/jones.py", line 255, in sage.databases.jones.JonesDatabase.ramified_at
Failed example:
    J.ramified_at(101)               # optional - database_jones_numfield
Expected:
    [Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
Got:
    [Number Field in a with defining polynomial x^2 - 101,
     Number Field in a with defining polynomial x^4 - x^3 + 13*x^2 - 19*x + 361,
     Number Field in a with defining polynomial x^5 + x^4 - 6*x^3 - x^2 + 18*x + 4,
     Number Field in a with defining polynomial x^5 + 2*x^4 + 7*x^3 + 4*x^2 + 11*x - 6,
     Number Field in a with defining polynomial x^5 - x^4 - 40*x^3 - 93*x^2 - 21*x + 17]
**********************************************************************
3 items had failures:
   1 of  10 in sage.databases.jones
   1 of   6 in sage.databases.jones.JonesDatabase.ramified_at
   1 of   3 in sage.databases.jones.JonesDatabase.unramified_outside
    [20 tests, 3 failures, 1.32 s]

Change History (4)

comment:1 Changed 4 years ago by chapoton

done in #21692

may have been cause by one of the python3 ticket trying to care for some cmp, possibly

comment:2 Changed 4 years ago by vdelecroix

  • Description modified (diff)
  • Milestone changed from sage-7.5 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

comment:3 Changed 4 years ago by tscrim

  • Status changed from needs_review to positive_review

comment:4 Changed 4 years ago by vbraun

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.