Skip to content

show trace on keyboardinterrupt #1366

@hpk42

Description

@hpk42

When CTRL-C/keyboard-interrupt a hanging test pytest does not show a stacktrace. You can enable it via "--fulltrace" but that's not obvious. So we should add a hint when ctrl-c happens.

we could also show the traceback by default but sometimes one hits ctrl-c because one realizes the invocation was wrong or something and then showing long tracebacks by default is obnoxious. So i suggest we stick with how things are and add something to the message

Metadata

Metadata

Labels

good first issueeasy issue that is friendly to new contributorstatus: help wanteddevelopers would like help from experts on this topictype: enhancementnew feature or API change, should be merged into features branchtype: feature-branchnew feature or API change, should be merged into features branch

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions