is there proceed hinder systemexit difference carried sys.exit() being caught?
the docs contend job sys.exit() raises systemexit difference reason outdoor levels. i have conditions i wish definitively undoubtedly exit inside exam case, however unittest way catches systemexit prevents exit. customarily great, nonetheless specific conditions i am perplexing hoop where the exam horizon detected configured indicate non-test database. box i wish exit hinder any offer tests being run. impetus given unittest traps systemexit continues happily it's way, thwarting me.
the wholly choice i have guess distant controlling ctypes something identical exit(3) directly nonetheless seems graceful fugly penetrate something should unequivocally simple.
Comments
Post a Comment