Skip to content

Move get_signal_name() to test.support #121251

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

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 2, 2024

  • Move get_signal_name() from test.libregrtest to test.support.
  • Use get_signal_name() in support.script_helper.
  • support.script_helper now decodes stdout and stderr from UTF-8, instead of ASCII, if a command failed.

* Move get_signal_name() from test.libregrtest to test.support.
* Use get_signal_name() in support.script_helper.
* support.script_helper now decodes stdout and stderr from UTF-8,
  instead of ASCII, if a command failed.
@vstinner
Copy link
Member Author

vstinner commented Jul 2, 2024

Example: AssertionError: Process return code is -6 (SIGABRT). The signal name is now shown.

@vstinner vstinner merged commit 7435f05 into python:main Jul 2, 2024
42 checks passed
@vstinner vstinner deleted the get_signal_name branch July 2, 2024 08:34
Akasurde pushed a commit to Akasurde/cpython that referenced this pull request Jul 3, 2024
* Move get_signal_name() from test.libregrtest to test.support.
* Use get_signal_name() in support.script_helper.
* support.script_helper now decodes stdout and stderr from UTF-8,
  instead of ASCII, if a command failed.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
* Move get_signal_name() from test.libregrtest to test.support.
* Use get_signal_name() in support.script_helper.
* support.script_helper now decodes stdout and stderr from UTF-8,
  instead of ASCII, if a command failed.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
* Move get_signal_name() from test.libregrtest to test.support.
* Use get_signal_name() in support.script_helper.
* support.script_helper now decodes stdout and stderr from UTF-8,
  instead of ASCII, if a command failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant