Skip to content

Android: stdout is set to errors="surrogateescape" #125942

Closed
@mhsmith

Description

@mhsmith

Bug report

Bug description:

The Android stdout and stderr tests include an assertion that both streams are set to errors="backslashreplace", which is the most useful setting for redirecting the streams to the Android log. However, this test only passed because the CPython test harness reconfigures stdout – outside of the tests, it's set to surrogateescape.

CPython versions tested on:

3.13

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-androidtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions