[Python-checkins] [python/cpython] 2d7755: bpo-30705: Fix test_regrtest.test_crashed() (#2439...

GitHub noreply at github.com
Tue Jun 27 09:37:21 EDT 2017


  Branch: refs/heads/2.7
  Home:   https://github.com/python/cpython
  Commit: 2d775589d98959abb9833121bd9d417003de56c0
      https://github.com/python/cpython/commit/2d775589d98959abb9833121bd9d417003de56c0
  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_regrtest.py
    M Lib/test/test_subprocess.py

  Log Message:
  -----------
  bpo-30705: Fix test_regrtest.test_crashed() (#2439)

* Add test.support._crash_python() which triggers a crash but uses
  test.support.SuppressCrashReport() to prevent a crash report from
  popping up.
* Modify test_child_terminated_in_stopped_state() of test_subprocess
  and test_crashed() of test_regrtest to use _crash_python().




More information about the Python-checkins mailing list