]> granicus.if.org Git - python/commit
bpo-31629: Add support.SaveSignals (#4183) (#4188)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 31 Oct 2017 10:44:55 +0000 (03:44 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2017 10:44:55 +0000 (03:44 -0700)
commit1d481822a6295e6739da2d5cca0fdbede51fda22
treeb43ce3dae2fd434de647577aa4f08e82dae0e8b7
parent107f3cc791d223dc06b7c80f0de672e88ae6a8d1
bpo-31629: Add support.SaveSignals (#4183) (#4188)

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