Skip to content

test_codecs fails with RuntimeError on NetBSD #124476

Closed
@furkanonder

Description

@furkanonder

Bug report

Bug description:

home$ ./python -m test test_codecs -m test_decode_surrogateescape
Using random seed: 2297497288
0:00:00 load avg: 0.07 Run 1 test sequentially in a single process
0:00:00 load avg: 0.07 [1/1] test_codecs
test test_codecs failed -- Traceback (most recent call last):
  File "/home/blue/cpython/Lib/test/test_codecs.py", line 3698, in check_decode_strings
    decoded = self.decode(encoded, errors)
  File "/home/blue/cpython/Lib/test/test_codecs.py", line 3665, in decode
    return _testinternalcapi.DecodeLocaleEx(encoded, 0, errors)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
RuntimeError: decode error: pos=9, reason=decoding error

test_codecs failed (1 error)

== Tests result: FAILURE ==

1 test failed:
    test_codecs

Total duration: 235 ms
Total tests: run=1 (filtered)
Total test files: run=1/1 (filtered) failed=1
Result: FAILURE

OS: NetBSD 10.0 amd64

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Labels

3.13bugs and security fixes3.14bugs and security fixesOS-netbsdtestsTests in the Lib/test dirtopic-unicodetype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions