def test_exitStatusInt(self):
        """
        L{exit} given an L{int} status code will pass it to L{sys.exit}.
        """
        status = 1234
        exit(status)
        self.assertEqual(self.exit.arg, status)

        L{exit} given an L{int} status code will pass it to L{sys.exit}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/application/runner/test/test_exit.py