Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_math.py::unmodified

== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 03:55:12) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-5.4.0-182-generic-i686-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /build_dir/tmp/pytest/test_python_worker_2724156æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2004208955
0:00:00 load avg: 5.30 Run 1 test sequentially in a single process
0:00:00 load avg: 5.30 [1/1] test_math
test_asymmetry (test.test_math.IsCloseTests.test_asymmetry) ... ok
test_decimals (test.test_math.IsCloseTests.test_decimals) ... ok
test_eight_decimal_places (test.test_math.IsCloseTests.test_eight_decimal_places) ... ok
test_fractions (test.test_math.IsCloseTests.test_fractions) ... ok
test_identical (test.test_math.IsCloseTests.test_identical) ... ok
test_identical_infinite (test.test_math.IsCloseTests.test_identical_infinite) ... ok
test_inf_ninf_nan (test.test_math.IsCloseTests.test_inf_ninf_nan) ... ok
test_integers (test.test_math.IsCloseTests.test_integers) ... ok
test_near_zero (test.test_math.IsCloseTests.test_near_zero) ... ok
test_negative_tolerances (test.test_math.IsCloseTests.test_negative_tolerances) ... ok
test_zero_tolerance (test.test_math.IsCloseTests.test_zero_tolerance) ... ok
testAcos (test.test_math.MathTests.testAcos) ... ok
testAcosh (test.test_math.MathTests.testAcosh) ... ok
testAsin (test.test_math.MathTests.testAsin) ... ok
testAsinh (test.test_math.MathTests.testAsinh) ... ok
testAtan (test.test_math.MathTests.testAtan) ... ok
testAtan2 (test.test_math.MathTests.testAtan2) ... ok
testAtanh (test.test_math.MathTests.testAtanh) ... ok
testCbrt (test.test_math.MathTests.testCbrt) ... ok
testCeil (test.test_math.MathTests.testCeil) ... ok
testComb (test.test_math.MathTests.testComb) ... ok
testConstants (test.test_math.MathTests.testConstants) ... ok
testCopysign (test.test_math.MathTests.testCopysign) ... ok
testCos (test.test_math.MathTests.testCos) ... ok
testCosh (test.test_math.MathTests.testCosh) ... ok
testDegrees (test.test_math.MathTests.testDegrees) ... ok
testDist (test.test_math.MathTests.testDist) ... ok
testExp (test.test_math.MathTests.testExp) ... ok
testExp2 (test.test_math.MathTests.testExp2) ... ok
testFabs (test.test_math.MathTests.testFabs) ... ok
testFactorial (test.test_math.MathTests.testFactorial) ... ok
testFactorialHugeInputs (test.test_math.MathTests.testFactorialHugeInputs) ... skipped 'implementation detail specific to cpython'
testFactorialNonIntegers (test.test_math.MathTests.testFactorialNonIntegers) ... ok
testFloor (test.test_math.MathTests.testFloor) ... ok
testFmod (test.test_math.MathTests.testFmod) ... ok
testFrexp (test.test_math.MathTests.testFrexp) ... ok
testFsum (test.test_math.MathTests.testFsum) ... ok
testGcd (test.test_math.MathTests.testGcd) ... ok
testHypot (test.test_math.MathTests.testHypot) ... ok
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) ... ok
testIsfinite (test.test_math.MathTests.testIsfinite) ... ok
testIsinf (test.test_math.MathTests.testIsinf) ... ok
testIsnan (test.test_math.MathTests.testIsnan) ... ok
testIsqrt (test.test_math.MathTests.testIsqrt) ... ok
testLdexp (test.test_math.MathTests.testLdexp) ... ok
testLog (test.test_math.MathTests.testLog) ... ok
testLog10 (test.test_math.MathTests.testLog10) ... ok
testLog1p (test.test_math.MathTests.testLog1p) ... ok
testLog2 (test.test_math.MathTests.testLog2) ... ok
testLog2Exact (test.test_math.MathTests.testLog2Exact) ... ok
testModf (test.test_math.MathTests.testModf) ... ok
testPerm (test.test_math.MathTests.testPerm) ... ok
testPow (test.test_math.MathTests.testPow) ... ok
testRadians (test.test_math.MathTests.testRadians) ... ok
testRemainder (test.test_math.MathTests.testRemainder) ... ok
testSin (test.test_math.MathTests.testSin) ... ok
testSinh (test.test_math.MathTests.testSinh) ... ok
testSqrt (test.test_math.MathTests.testSqrt) ... ok
testSumProd (test.test_math.MathTests.testSumProd) ... ok
testTan (test.test_math.MathTests.testTan) ... ok
testTanh (test.test_math.MathTests.testTanh) ... ok
testTanhSign (test.test_math.MathTests.testTanhSign) ... ok
test_exceptions (test.test_math.MathTests.test_exceptions) ... ok
test_inf_constant (test.test_math.MathTests.test_inf_constant) ... ok
test_input_exceptions (test.test_math.MathTests.test_input_exceptions) ... ok
test_issue39871 (test.test_math.MathTests.test_issue39871) ... ok
test_lcm (test.test_math.MathTests.test_lcm) ... FAIL
test_math_dist_leak (test.test_math.MathTests.test_math_dist_leak) ... ok
test_mtestfile (test.test_math.MathTests.test_mtestfile) ... FAIL
test_nan_constant (test.test_math.MathTests.test_nan_constant) ... ok
test_nextafter (test.test_math.MathTests.test_nextafter) ... ERROR
test_prod (test.test_math.MathTests.test_prod) ... ok
test_sumprod_accuracy (test.test_math.MathTests.test_sumprod_accuracy) ... skipped 'implementation detail specific to cpython'
test_sumprod_extended_precision_accuracy (test.test_math.MathTests.test_sumprod_extended_precision_accuracy) ... skipped 'implementation detail specific to cpython'
test_sumprod_stress (test.test_math.MathTests.test_sumprod_stress) ... skipped "resource 'cpu' is not enabled"
test_testfile (test.test_math.MathTests.test_testfile) ... ok
test_trunc (test.test_math.MathTests.test_trunc) ... ok
test_ulp (test.test_math.MathTests.test_ulp) ... ok
/build_dir/pypy-c-jit-linux-x86-32/build/lib-python/3/test/ieee754.txt
Doctest: ieee754.txt ... ok

======================================================================
ERROR: test_nextafter (test.test_math.MathTests.test_nextafter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-32/build/lib-python/3/test/test_math.py", line 2400, in test_nextafter
    self.assertEqual(math.nextafter(1.0, -INF, steps=1),
                          ^^^^^^^^^
TypeError: nextafter() takes no keyword arguments

======================================================================
FAIL: test_lcm (test.test_math.MathTests.test_lcm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-32/build/lib-python/3/test/test_math.py", line 1169, in test_lcm
    self.assertRaises(TypeError, lcm, 120, 0, 84.0)
         ^^^^^^^^^^^^
AssertionError: TypeError not raised by lcm

======================================================================
FAIL: test_mtestfile (test.test_math.MathTests.test_mtestfile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-32/build/lib-python/3/test/test_math.py", line 2144, in test_mtestfile
    self.fail('Failures in test_mtestfile:\n  ' +
         ^^^^
AssertionError: Failures in test_mtestfile:
  gam0128: gamma(-201.0001): expected 0.0, got -0.0 (zero has wrong sign)
  gam0129: gamma(-202.9999): expected -0.0, got 0.0 (zero has wrong sign)
  gam0130: gamma(-1000.5): expected -0.0, got 0.0 (zero has wrong sign)
  gam0131: gamma(-1000000000.3): expected -0.0, got 0.0 (zero has wrong sign)
  gam0132: gamma(-4503599627370495.5): expected 0.0, got -0.0 (zero has wrong sign)

----------------------------------------------------------------------
Ran 79 tests in 3.969s

FAILED (failures=2, errors=1, skipped=4)
0:00:04 load avg: 5.20 [1/1/1] test_math failed (1 error, 2 failures)

== Tests result: FAILURE ==

1 test failed:
    test_math

Total duration: 4.2 sec
Total tests: run=79 failures=2 skipped=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_math failed
builder: pypy-c-jit-linux-x86-32 build #8380+
test: lib-python/3/test/test_math.py::unmodified