问题是,如果我的代码引发SystemExit,我需要测试,但是由于filnally块,测试无法通过——它们只是无限的。有没有可能让UnitTest通过 os.system("pause") ?
確定! 回上一頁