Skip to content

Arrow keys no longer work in PDB with tox 4 #2705

@tucked

Description

@tucked

Add --pdb to a pytest call (with or without {tty:--color=yes}), or insert a pytest.set_trace() or breakpoint() call.
The up arrow cannot be used to access previous commands in tox>=4:

(Pdb) pp value
'{}'
(Pdb) ^[[A

In tox<4 the second prompt would show (Pdb) pp value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:minordoes not affect many people or has no big impacthelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions