Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test_codecs fails with RuntimeError on NetBSD #124476

Copy link
Copy link
Closed
@furkanonder

Description

@furkanonder
Issue body actions

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 fixesbugs and security fixes3.14bugs and security fixesbugs and security fixesOS-netbsdtestsTests in the Lib/test dirTests in the Lib/test dirtopic-unicodetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

Status

Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.