Skip to content

Conversation

@vstinner
Copy link
Member

Backport also test.support.SuppressCrashReport.

vstinner added 2 commits June 26, 2017 18:11
Backport test.support.SuppressCrashReport context-manager from
master. Drop the Windows implementation since it depends on
msvcrt.CrtSetReportMode() which isn't available on Python 2.7.
bpo-30764, bpo-29335: test_child_terminated_in_stopped_state() of
test_subprocess now uses support.SuppressCrashReport() to prevent the
creation of a core dump on FreeBSD.
(cherry picked from commit cdee3f1)
@vstinner
Copy link
Member Author

I backported the Windows implementation of test.support.SuppressCrashReport, but I prefer to write a separated PR for that, since it adds C code and so is very different from this change.

@vstinner vstinner changed the title bpo-30764: test_subprocess uses SuppressCrashReport (#2405) [2.7] bpo-30764: test_subprocess uses SuppressCrashReport (#2405) Jun 26, 2017
@vstinner vstinner merged commit 2097b9e into python:2.7 Jun 26, 2017
@vstinner vstinner deleted the subprocess_stopped27 branch June 26, 2017 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants