lib-python/3/test/test_utf8_mode.py::unmodified
== PyPy 3.11.15 (451f61ebebba, Jun 25 2026, 01:30:48) [PyPy 7.3.24-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_56695æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 4119989256
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 4.03 Run 1 test sequentially
0:00:00 load avg: 4.03 [1/1] test_utf8_mode
test_cmd_line (test.test_utf8_mode.UTF8ModeTests.test_cmd_line) ...
test_cmd_line (test.test_utf8_mode.UTF8ModeTests.test_cmd_line) (LC_ALL='C') ... FAIL
test_cmd_line (test.test_utf8_mode.UTF8ModeTests.test_cmd_line) (LC_ALL='POSIX') ... FAIL
test_device_encoding (test.test_utf8_mode.UTF8ModeTests.test_device_encoding) ... skipped 'sys.stdout is not a TTY'
test_env_var (test.test_utf8_mode.UTF8ModeTests.test_env_var) ... ok
test_filesystemencoding (test.test_utf8_mode.UTF8ModeTests.test_filesystemencoding) ... ok
test_io (test.test_utf8_mode.UTF8ModeTests.test_io) ... ok
test_io_encoding (test.test_utf8_mode.UTF8ModeTests.test_io_encoding) ... ok
test_locale_getpreferredencoding (test.test_utf8_mode.UTF8ModeTests.test_locale_getpreferredencoding) ... ok
test_optim_level (test.test_utf8_mode.UTF8ModeTests.test_optim_level) ... ok
test_posix_locale (test.test_utf8_mode.UTF8ModeTests.test_posix_locale) ... ok
test_pyio_encoding (test.test_utf8_mode.UTF8ModeTests.test_pyio_encoding) ... ok
test_stdio (test.test_utf8_mode.UTF8ModeTests.test_stdio) ... ok
test_xoption (test.test_utf8_mode.UTF8ModeTests.test_xoption) ... ok
======================================================================
FAIL: test_cmd_line (test.test_utf8_mode.UTF8ModeTests.test_cmd_line) (LC_ALL='C')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_utf8_mode.py", line 237, in test_cmd_line
check('utf8=0', [c_arg], LC_ALL=loc)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_utf8_mode.py", line 222, in check
self.assertEqual(args, ascii(expected), out)
^^^^^^^^^^^
AssertionError: "['h\\xc3\\xa9\\xe2\\x82\\xac']" != "['h\\xe9\\u20ac']"
- ['h\xc3\xa9\xe2\x82\xac']
+ ['h\xe9\u20ac']
: US-ASCII:['h\xc3\xa9\xe2\x82\xac']
======================================================================
FAIL: test_cmd_line (test.test_utf8_mode.UTF8ModeTests.test_cmd_line) (LC_ALL='POSIX')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_utf8_mode.py", line 237, in test_cmd_line
check('utf8=0', [c_arg], LC_ALL=loc)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_utf8_mode.py", line 222, in check
self.assertEqual(args, ascii(expected), out)
^^^^^^^^^^^
AssertionError: "['h\\xc3\\xa9\\xe2\\x82\\xac']" != "['h\\xe9\\u20ac']"
- ['h\xc3\xa9\xe2\x82\xac']
+ ['h\xe9\u20ac']
: US-ASCII:['h\xc3\xa9\xe2\x82\xac']
----------------------------------------------------------------------
Ran 12 tests in 0.781s
FAILED (failures=2, skipped=1)
test_utf8_mode failed (2 failures)
== Tests result: FAILURE ==
1 test failed:
test_utf8_mode
Total duration: 850 ms
Total tests: run=12 failures=2 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_utf8_mode failed
builder: pypy-c-jit-macos-arm64 build #1293+
test: lib-python/3/test/test_utf8_mode.py::unmodified