Skip to content

A doctest in multi_polynomial_ideal.py fails to recognize a synonym of the expected answer #41193

@EmmanuelCharpentier

Description

@EmmanuelCharpentier

Steps To Reproduce

During petestlong :

charpent@brique:/usr/local/sage-10$ src/bin/sage -t --long --warn-long 30.0 --random-seed=15939232666016095847464046535027297743 

[ Elided... ]

**********************************************************************
File "src/sage/rings/polynomial/multi_polynomial_ideal.py", line 2618, in sage.rings.polynomial.multi_polynomial_ideal.?.variety
Failed example:
    sorted(I.variety(algorithm='msolve',          # optional - msolve, needs sage.rings.finite_rings
                     proof=False),
           key=str)
Expected:
    [{y: 1, x: 1},
     {y: 1, x: 536870908},
     {y: 536870908, x: 1},
     {y: 536870908, x: 536870908}]
Got:
    [{y: 1, x: 1},
     {y: 536870908, x: 1},
     {y: 1, x: 536870908},
     {y: 536870908, x: 536870908}]
**********************************************************************
1 item had failures:
   1 of  37 in sage.rings.polynomial.multi_polynomial_ideal.?.variety
    [986 tests, 1 failure, 3.46s wall]

[ Elided again... ]

Expected Behavior

Success of the comparison ==> no failure.

Actual Behavior

The actual answer has the same meaning ast the expected answer, but its string representation differs from the expected one ==> failure.

Additional Information

No response

Environment

  • OS: Debian testing
  • Sage Version: 10.8.beta9

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions