Skip to content

Random test failure in quaternion_algebra.py #37488

@GiacomoPope

Description

@GiacomoPope

Steps To Reproduce

When running the CI https://github.com/sagemath/sage/actions/runs/8063335292/job/22024916321?pr=37443 the following random test failed.

sage -t --random-seed=558346185206384723433409773377632267 src/sage/algebras/quatalg/quaternion_algebra.py
**********************************************************************
File "src/sage/algebras/quatalg/quaternion_algebra.py", line 2167, in sage.algebras.quatalg.quaternion_algebra.QuaternionOrder.isomorphism_to
Failed example:
    iso = O0.isomorphism_to(O1); iso
Expected:
    Ring morphism: ...
Got:
    Ring endomorphism of Order of Quaternion Algebra (-345, -777) with base ring Rational Field with basis (1, i, j, 1/2 + 1/2*i + 23/74*j + 1/222*k)
      Defn: i |--> i
            j |--> j
            k |--> k

Expected Behavior

The doctests should pass

Actual Behavior

The doctests fail

Additional Information

No response

Environment

- **Sage Version**: SageMath version 10.3.rc0, Release Date: 2024-02-25

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions