Lines Matching refs:showwarning
524 del self.module.showwarning
533 old_showwarning = self.module.showwarning
534 self.module.showwarning = 23
538 self.module.showwarning = old_showwarning
545 del self.module.showwarning
677 self.module.showwarning(message, category, file_name, line_num,
685 self.module.showwarning(message, category, file_name, line_num,
703 orig_showwarning = wmod.showwarning
706 wmod.filters = wmod.showwarning = object()
708 self.assertTrue(wmod.showwarning is orig_showwarning)
711 wmod.filters = wmod.showwarning = object()
713 self.assertTrue(wmod.showwarning is orig_showwarning)
731 orig_showwarning = wmod.showwarning
734 self.assertTrue(wmod.showwarning is orig_showwarning)
752 orig_showwarning = wmod.showwarning
756 self.assertTrue(wmod.showwarning is orig_showwarning)
763 self.assertTrue(wmod.showwarning is orig_showwarning)