Skip to content

test_pdb times out on FreeBSD #133558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
encukou opened this issue May 7, 2025 · 4 comments
Closed

test_pdb times out on FreeBSD #133558

encukou opened this issue May 7, 2025 · 4 comments
Labels
OS-freebsd stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@encukou
Copy link
Member

encukou commented May 7, 2025

Bug report

test.test_pdb.PdbTestReadline.test_multiline_indent_completion times out, e.g. here.

@gaogaotiantian said:

the test needs to backspace a few times to simulate dedent and \x08 is not picked up in FreeBSD. It's more of a "how can we simulate backspace(delete) on FreeBSD for tests" problem. The code itself is fine.

Linked PRs

@encukou encukou added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir stdlib Python modules in the Lib dir labels May 7, 2025
@encukou
Copy link
Member Author

encukou commented May 7, 2025

cc @vstinner the FreeBSD expert

@vstinner
Copy link
Member

vstinner commented May 7, 2025

See also #133350 (comment) discussion.

vstinner added a commit to vstinner/cpython that referenced this issue May 7, 2025
'\x08' is not interpreted as backspace on FreeBSD.
@vstinner
Copy link
Member

vstinner commented May 7, 2025

I wrote #133566 to skip the two tests on FreeBSD.

vstinner added a commit that referenced this issue May 7, 2025
'\x08' is not interpreted as backspace on FreeBSD.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 7, 2025
'\x08' is not interpreted as backspace on FreeBSD.
(cherry picked from commit 79b8a32)

Co-authored-by: Victor Stinner <[email protected]>
vstinner added a commit that referenced this issue May 7, 2025
gh-133558: Skip test_pdb tests on FreeBSD (GH-133566)

'\x08' is not interpreted as backspace on FreeBSD.
(cherry picked from commit 79b8a32)

Co-authored-by: Victor Stinner <[email protected]>
@encukou
Copy link
Member Author

encukou commented May 8, 2025

Thank you!

@vstinner vstinner closed this as completed May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-freebsd stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants