#2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.
#2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator