'When C{os.fork} raises an exception, the file descriptors created
before are closed and don\'t leak.'

def test_mockForkErrorCloseFDs(self):

    self._mockWithForkError()
    self.assertEqual(set(self.mockos.closed), set([(-1), (-4), (-6), (-2), (-3), (-5)]))
