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

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

== PyPy 3.11.15 (416aa503dce9, Jun 29 2026, 03:45:59) [PyPy 7.3.24-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_60481æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2911154654
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 1.27 Run 1 test sequentially
0:00:00 load avg: 1.27 [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-x86_64/pypy-c-jit-macos-x86-64/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-x86_64/pypy-c-jit-macos-x86-64/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-x86_64/pypy-c-jit-macos-x86-64/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-x86_64/pypy-c-jit-macos-x86-64/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 1.761s

FAILED (failures=2, skipped=1)
test_utf8_mode failed (2 failures)

== Tests result: FAILURE ==

1 test failed:
    test_utf8_mode

Total duration: 1.9 sec
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-x86-64 build #1315+
test: lib-python/3/test/test_utf8_mode.py::unmodified