allow failure python