Lines Matching refs:bad_mode
259 bad_mode = "qwerty"261 f = open(TESTFN, bad_mode)265 if TESTFN in s or bad_mode not in s:271 self.fail("no error for invalid mode: %s" % bad_mode)