sagemath/sage

random doctest failure in src/doc/en/thematic_tutorials/group_theory.rst

Closed this issue · 9 comments

Part of #32544:

sage -t --long --random-seed=185470747385175316039405094141387664605 src/doc/en/thematic_tutorials/group_theory.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/group_theory.rst", line 207, in doc.en.thematic_tutorials.group_theory
Failed example:
    euler_phi(m*n) == euler_phi(m) * euler_phi(n)
Expected:
    True
Got:
    False
**********************************************************************
1 item had failures:
   1 of 170 in doc.en.thematic_tutorials.group_theory
    [127 tests, 1 failure, 4.40 s]

(From a patchbot run in #34880.)

Component: documentation

Author: Frédéric Chapoton

Branch/Commit: u/chapoton/34901 @ a8ee692

Reviewer: Lorenz Panny

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

comment:1

In the test, m and n are random primes less than 10000. The test fails if and only if m == n.

New commits:

a8ee692fix a random doctest in tutorial

Commit: a8ee692

Author: Frédéric Chapoton

comment:3

ok like that ?

comment:4

That should do. Thanks!

Reviewer: Lorenz Panny

Merged in 10.0.beta0