Index: Lib/test/test_signal.py =================================================================== --- Lib/test/test_signal.py (revision 73405) +++ Lib/test/test_signal.py (working copy) @@ -146,8 +146,8 @@ # re-raises information about any exceptions the child # throws. The real work happens in self.run_test(). os_done_r, os_done_w = os.pipe() - with nested(closing(os.fdopen(os_done_r)), - closing(os.fdopen(os_done_w, 'w'))) as (done_r, done_w): + with closing(os.fdopen(os_done_r)) as done_r, \ + closing(os.fdopen(os_done_w, 'w')) as done_w: child = os.fork() if child == 0: # In the child process; run the test and report results