lib-python/3/test/test_math.py::unmodified
== PyPy 3.11.15 (2bd2c8c11256, Jul 04 2026, 03:08:01) [PyPy 7.3.24-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-4.19.90-2202.1.0.0136.oe1.aarch64-aarch64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_3308434æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 231349737
0:00:00 load avg: 0.74 Run 1 test sequentially
0:00:00 load avg: 0.74 [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) ... FAIL
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) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) ...
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.459c058e20bb7p+30', hy='0x1.993ca009b9178p+29', x=1365705059.531965, y=858231809.2153769) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.378371ae67c0cp+30', hy='0x1.fbe6619854b4cp+29', x=1306582123.6013212, y=1065143347.0413604) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.f4cd0574fb97ap+29', hy='0x1.50fe31669340ep+30', x=1050255534.6228478, y=1413450841.6438022) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.f84e649f1e46dp+29', hy='0x1.1fa56bef8eec4p+30', x=1057606803.8897835, y=1206475515.889573) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.2e817edd3d6fap+30', hy='0x1.eb0814f1e9602p+29', x=1268801463.3099961, y=1029767838.2389529) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.0d3a6e3d04245p+29', hy='0x1.32a62fea52352p+30', x=564612551.6270224, y=1286179834.5802808) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.888e19611bfc5p+29', hy='0x1.52b8e70b24353p+29', x=823247660.1386648, y=710352097.3926796) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.57b47b7234530p+29', hy='0x1.74e2c7040e772p+29', x=720801646.2755489, y=781998304.5070632) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.94a8d2842a7cfp+30', hy='0x1.326a51d4d8d8ap+30', x=1697264801.0414922, y=1285198965.2117639) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.e930b9cd99035p+29', hy='0x1.5a1030e18dff9p+30', x=1025906489.6997133, y=1451494456.3886702) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.5c6bfbec5c4dcp+30', hy='0x1.02511184b4970p+30', x=1461387003.0901403, y=1083458657.1763573) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.282bdb82f17f3p+30', hy='0x1.640ba4c4eed3ap+30', x=1242232544.7358367, y=1493362993.2332292) ... FAIL
testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.89d8c423ea0c6p+29', hy='0x1.d35dcfe902bc3p+29', x=825956484.4892814, y=980138493.1263355) ... FAIL
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
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) ... ok
test_math_dist_leak (test.test_math.MathTests.test_math_dist_leak) ... ok
test_mtestfile (test.test_math.MathTests.test_mtestfile) ... ok
test_nan_constant (test.test_math.MathTests.test_nan_constant) ... ok
test_nextafter (test.test_math.MathTests.test_nextafter) ... ok
test_prod (test.test_math.MathTests.test_prod) ... ok
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-aarch64/build/lib-python/3/test/ieee754.txt
Doctest: ieee754.txt ... ok
======================================================================
FAIL: testDist (test.test_math.MathTests.testDist)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 971, in testDist
self.assertEqual(dist((True, True, False, True, False),
^^^^^^^^^^^
AssertionError: 1.414213562373095 != 1.4142135623730951
======================================================================
FAIL: testHypot (test.test_math.MathTests.testHypot)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 811, in testHypot
self.assertEqual(hypot(1, -1), math.sqrt(2))
^^^^^^^^^^^
AssertionError: 1.414213562373095 != 1.4142135623730951
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.459c058e20bb7p+30', hy='0x1.993ca009b9178p+29', x=1365705059.531965, y=858231809.2153769)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1612982376.8350067 != 1612982376.8350065
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.378371ae67c0cp+30', hy='0x1.fbe6619854b4cp+29', x=1306582123.6013212, y=1065143347.0413604)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1685730463.467102 != 1685730463.4671018
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.f4cd0574fb97ap+29', hy='0x1.50fe31669340ep+30', x=1050255534.6228478, y=1413450841.6438022)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1760931563.0510736 != 1760931563.0510733
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.f84e649f1e46dp+29', hy='0x1.1fa56bef8eec4p+30', x=1057606803.8897835, y=1206475515.889573)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1604404974.460929 != 1604404974.4609292
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.2e817edd3d6fap+30', hy='0x1.eb0814f1e9602p+29', x=1268801463.3099961, y=1029767838.2389529)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1634098820.135708 != 1634098820.1357083
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.0d3a6e3d04245p+29', hy='0x1.32a62fea52352p+30', x=564612551.6270224, y=1286179834.5802808)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1404651522.739977 != 1404651522.7399766
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.888e19611bfc5p+29', hy='0x1.52b8e70b24353p+29', x=823247660.1386648, y=710352097.3926796)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1087353122.1245313 != 1087353122.124531
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.57b47b7234530p+29', hy='0x1.74e2c7040e772p+29', x=720801646.2755489, y=781998304.5070632)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1063520738.6438042 != 1063520738.6438043
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.94a8d2842a7cfp+30', hy='0x1.326a51d4d8d8ap+30', x=1697264801.0414922, y=1285198965.2117639)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 2128953777.1017494 != 2128953777.1017492
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.e930b9cd99035p+29', hy='0x1.5a1030e18dff9p+30', x=1025906489.6997133, y=1451494456.3886702)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1777447687.7070193 != 1777447687.707019
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.5c6bfbec5c4dcp+30', hy='0x1.02511184b4970p+30', x=1461387003.0901403, y=1083458657.1763573)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1819212641.3949463 != 1819212641.394946
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.282bdb82f17f3p+30', hy='0x1.640ba4c4eed3ap+30', x=1242232544.7358367, y=1493362993.2332292)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1942491885.3780012 != 1942491885.3780015
======================================================================
FAIL: testHypotAccuracy (test.test_math.MathTests.testHypotAccuracy) (hx='0x1.89d8c423ea0c6p+29', hy='0x1.d35dcfe902bc3p+29', x=825956484.4892814, y=980138493.1263355)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_math.py", line 933, in testHypotAccuracy
self.assertEqual(hypot(x, y), z)
^^^^^^^^^^^
AssertionError: 1281747081.1271062 != 1281747081.127106
----------------------------------------------------------------------
Ran 75 tests in 3.303s
FAILED (failures=15, skipped=1)
test_math failed (15 failures)
== Tests result: FAILURE ==
1 test failed:
test_math
Total duration: 3.5 sec
Total tests: run=75 failures=15 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_math failed
builder: pypy-c-jit-linux-aarch64 build #2938+
test: lib-python/3/test/test_math.py::unmodified