def test_exit_arg(self):
        "sys.exit can be called with args"
        try:
            sys.exit("leaving now")
        except __HOLE__, e:
            self.assertEquals(str(e), "leaving now")
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_sys_jy.py/SysTest.test_exit_arg