]> granicus.if.org Git - python/commit
bpo-31629: Add support.SaveSignals (#4183) (#4187)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Oct 2017 10:45:01 +0000 (03:45 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2017 10:45:01 +0000 (03:45 -0700)
commit41efc402f154e48e95dde2993901648edcb24069
treed3f35a640f0aca4cf244be2bbf8bf761a413587f
parent690c36f2f1085145d364a89bfed5944dd2470308
bpo-31629: Add support.SaveSignals (#4183) (#4187)

test_curses now saves/restores signals. On FreeBSD, the curses module
sets handlers of some signals, but don't restore old handlers when
the module is deinitialized.

(cherry picked from commit 19f68301a1295a9c30d9f28b8f1479cdcccd75aa)
Lib/test/support/__init__.py
Lib/test/test_curses.py