lib-python/3/test/test_int.py::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 03:42:44) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_70639æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2909513701
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 5.26 Run 1 test sequentially in a single process
0:00:00 load avg: 5.26 [1/1] test_int
test_denial_of_service_prevented_int_to_str (test.test_int.IntStrDigitLimitsTests.test_denial_of_service_prevented_int_to_str)
Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.015029999999999988 seconds.'
test_denial_of_service_prevented_str_to_int (test.test_int.IntStrDigitLimitsTests.test_denial_of_service_prevented_str_to_int)
Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.008750000000000008 seconds.'
test_disabled_limit (test.test_int.IntStrDigitLimitsTests.test_disabled_limit) ... ok
test_int_from_other_bases (test.test_int.IntStrDigitLimitsTests.test_int_from_other_bases) ... ok
test_int_max_str_digits_is_per_interpreter (test.test_int.IntStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ... ERROR
test_max_str_digits (test.test_int.IntStrDigitLimitsTests.test_max_str_digits) ... ok
test_max_str_digits_edge_cases (test.test_int.IntStrDigitLimitsTests.test_max_str_digits_edge_cases)
Ignore the +/- sign and space padding. ... ok
test_power_of_two_bases_unlimited (test.test_int.IntStrDigitLimitsTests.test_power_of_two_bases_unlimited)
The limit does not apply to power of 2 bases. ... ok
test_sign_not_counted (test.test_int.IntStrDigitLimitsTests.test_sign_not_counted) ... ok
test_underscores_ignored (test.test_int.IntStrDigitLimitsTests.test_underscores_ignored) ... ok
test_denial_of_service_prevented_int_to_str (test.test_int.IntSubclassStrDigitLimitsTests.test_denial_of_service_prevented_int_to_str)
Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.011387999999999981 seconds.'
test_denial_of_service_prevented_str_to_int (test.test_int.IntSubclassStrDigitLimitsTests.test_denial_of_service_prevented_str_to_int)
Regression test: ensure we fail before performing O(N**2) work. ... skipped '"slow" conversion took only 0.008701999999999988 seconds.'
test_disabled_limit (test.test_int.IntSubclassStrDigitLimitsTests.test_disabled_limit) ... ok
test_int_from_other_bases (test.test_int.IntSubclassStrDigitLimitsTests.test_int_from_other_bases) ... ok
test_int_max_str_digits_is_per_interpreter (test.test_int.IntSubclassStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter) ... ERROR
test_max_str_digits (test.test_int.IntSubclassStrDigitLimitsTests.test_max_str_digits) ... ok
test_max_str_digits_edge_cases (test.test_int.IntSubclassStrDigitLimitsTests.test_max_str_digits_edge_cases)
Ignore the +/- sign and space padding. ... ok
test_power_of_two_bases_unlimited (test.test_int.IntSubclassStrDigitLimitsTests.test_power_of_two_bases_unlimited)
The limit does not apply to power of 2 bases. ... ok
test_sign_not_counted (test.test_int.IntSubclassStrDigitLimitsTests.test_sign_not_counted) ... ok
test_underscores_ignored (test.test_int.IntSubclassStrDigitLimitsTests.test_underscores_ignored) ... ok
test_basic (test.test_int.IntTestCases.test_basic) ... ok
test_error_message (test.test_int.IntTestCases.test_error_message) ... ok
test_int_base_bad_types (test.test_int.IntTestCases.test_int_base_bad_types)
Not integer types are not valid bases; issue16772. ... ok
test_int_base_indexable (test.test_int.IntTestCases.test_int_base_indexable) ... ok
test_int_base_limits (test.test_int.IntTestCases.test_int_base_limits)
Testing the supported limits of the int() base parameter. ... ok
test_int_memoryview (test.test_int.IntTestCases.test_int_memoryview) ... ok
test_int_returns_int_subclass (test.test_int.IntTestCases.test_int_returns_int_subclass) ... ok
test_int_subclass_with_index (test.test_int.IntTestCases.test_int_subclass_with_index) ... ok
test_int_subclass_with_int (test.test_int.IntTestCases.test_int_subclass_with_int) ... ok
test_intconversion (test.test_int.IntTestCases.test_intconversion) ... FAIL
test_invalid_signs (test.test_int.IntTestCases.test_invalid_signs) ... ok
test_issue31619 (test.test_int.IntTestCases.test_issue31619) ... ok
test_keyword_args (test.test_int.IntTestCases.test_keyword_args) ... ok
test_no_args (test.test_int.IntTestCases.test_no_args) ... ok
test_non_numeric_input_types (test.test_int.IntTestCases.test_non_numeric_input_types) ... ok
test_small_ints (test.test_int.IntTestCases.test_small_ints) ... skipped 'implementation detail specific to cpython'
test_string_float (test.test_int.IntTestCases.test_string_float) ... ok
test_underscores (test.test_int.IntTestCases.test_underscores) ... ok
test_unicode (test.test_int.IntTestCases.test_unicode) ... ok
test_pylong_int_divmod (test.test_int.PyLongModuleTests.test_pylong_int_divmod) ... ok
test_pylong_int_to_decimal (test.test_int.PyLongModuleTests.test_pylong_int_to_decimal) ... ok
test_pylong_int_to_decimal_2 (test.test_int.PyLongModuleTests.test_pylong_int_to_decimal_2) ... skipped "resource 'cpu' is not enabled"
test_pylong_misbehavior_error_path_from_str (test.test_int.PyLongModuleTests.test_pylong_misbehavior_error_path_from_str) ... skipped 'implementation detail specific to cpython'
test_pylong_misbehavior_error_path_to_str (test.test_int.PyLongModuleTests.test_pylong_misbehavior_error_path_to_str) ... skipped 'implementation detail specific to cpython'
test_pylong_str_to_int (test.test_int.PyLongModuleTests.test_pylong_str_to_int) ... ok
======================================================================
ERROR: test_int_max_str_digits_is_per_interpreter (test.test_int.IntStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 17, in <module>
module_from_spec(spec)
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ImportError: dlopen(/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so, 0x0006): tried: '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_int.py", line 814, in test_int_max_str_digits_is_per_interpreter
self.assertEqual(support.run_in_subinterp(code), 0,
^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/__init__.py", line 1784, in run_in_subinterp
import _testcapi
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 25, in <module>
mod = _pypy_testcapi.compile_shared(cfile, '_testcapi', thisdir)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 65, in compile_shared
from distutils.ccompiler import new_compiler
ModuleNotFoundError: No module named 'distutils'
======================================================================
ERROR: test_int_max_str_digits_is_per_interpreter (test.test_int.IntSubclassStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 17, in <module>
module_from_spec(spec)
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ImportError: dlopen(/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so, 0x0006): tried: '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_int.py", line 814, in test_int_max_str_digits_is_per_interpreter
self.assertEqual(support.run_in_subinterp(code), 0,
^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/__init__.py", line 1784, in run_in_subinterp
import _testcapi
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 25, in <module>
mod = _pypy_testcapi.compile_shared(cfile, '_testcapi', thisdir)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 65, in compile_shared
from distutils.ccompiler import new_compiler
ModuleNotFoundError: No module named 'distutils'
======================================================================
FAIL: test_intconversion (test.test_int.IntTestCases.test_intconversion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_int.py", line 440, in test_intconversion
int(TruncReturnsNonIntegral())
TypeError: __trunc__ returned non-Integral (type 'NonIntegral')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_int.py", line 442, in test_intconversion
self.assertEqual(str(e),
^^^^^^^^^^^
AssertionError: "__trunc__ returned non-Integral (type 'NonIntegral')" != '__trunc__ returned non-Integral (type NonIntegral)'
- __trunc__ returned non-Integral (type 'NonIntegral')
? - -
+ __trunc__ returned non-Integral (type NonIntegral)
----------------------------------------------------------------------
Ran 45 tests in 0.118s
FAILED (failures=1, errors=2, skipped=8)
0:00:00 load avg: 5.26 [1/1/1] test_int failed (2 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_int
Total duration: 234 ms
Total tests: run=45 failures=1 skipped=8
Total test files: run=1/1 failed=1
Result: FAILURE
test test_int failed
builder: pypy-c-jit-macos-arm64 build #1309+
test: lib-python/3/test/test_int.py::unmodified