Lines Matching refs:showwarning
528 del self.module.showwarning
537 old_showwarning = self.module.showwarning
538 self.module.showwarning = 23
542 self.module.showwarning = old_showwarning
549 del self.module.showwarning
713 self.module.showwarning(message, category, file_name, line_num,
721 self.module.showwarning(message, category, file_name, line_num,
739 orig_showwarning = wmod.showwarning
742 wmod.filters = wmod.showwarning = object()
744 self.assertTrue(wmod.showwarning is orig_showwarning)
747 wmod.filters = wmod.showwarning = object()
749 self.assertTrue(wmod.showwarning is orig_showwarning)
767 orig_showwarning = wmod.showwarning
770 self.assertTrue(wmod.showwarning is orig_showwarning)
788 orig_showwarning = wmod.showwarning
792 self.assertTrue(wmod.showwarning is orig_showwarning)
799 self.assertTrue(wmod.showwarning is orig_showwarning)