[Python-checkins] [python/cpython] 2097b9: [2.7] bpo-30764: test_subprocess uses SuppressCras...

GitHub noreply at github.com
Mon Jun 26 18:00:53 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: 2097b9e0ef32ab7a0d745edc0f707c615780c006
      https://github.com/python/cpython/commit/2097b9e0ef32ab7a0d745edc0f707c615780c006
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
    M Lib/test/support/__init__.py
    M Lib/test/test_subprocess.py

  Log Message:
  -----------
  [2.7] bpo-30764: test_subprocess uses SuppressCrashReport (#2405) (#2412)

* bpo-30764: Backport support.SuppressCrashReport

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: test_subprocess uses SuppressCrashReport (#2405)

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 cdee3f14f7f4c995e7eedb0bf6a67e260c739f7d)




More information about the Python-checkins mailing list