]> granicus.if.org Git - python/commit
bpo-30125: disable faulthandler in ctypes test_SEH (#1237)
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 21 Apr 2017 22:31:13 +0000 (00:31 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2017 22:31:13 +0000 (00:31 +0200)
commita36e939aeb3b5a2c56561eb24f0e339eee9f3f9d
treeb4f48eac59cb7cf7ef3446d78bf2cfe637307570
parentae5b3260dd459845aad8a30491b76d471577785d
bpo-30125: disable faulthandler in ctypes test_SEH (#1237)

Disable faulthandler to run test_SEH() of test_ctypes to prevent the
following log with a traceback:

    Windows fatal exception: access violation

Add support.disable_faulthandler() context manager.
Lib/ctypes/test/test_win32.py
Lib/test/support/__init__.py