Searched refs:old_modes (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 1957 old_modes = None variable in SuppressCrashReport 1985 self.old_modes = {} 1993 self.old_modes[report_type] = old_mode, old_file 2038 if self.old_modes: 2040 for report_type, (old_mode, old_file) in self.old_modes.items(): 2085 old_modes = None 2096 old_modes = {} 2100 old_modes[report_type] = msvcrt.CrtSetReportMode(report_type, 0) 2116 if old_modes is not None: 2120 msvcrt.CrtSetReportMode(report_type, old_modes[report_type])
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 2570 old_modes = None variable in SuppressCrashReport 2598 self.old_modes = {} 2606 self.old_modes[report_type] = old_mode, old_file 2645 if self.old_modes: 2647 for report_type, (old_mode, old_file) in self.old_modes.items(): 2806 old_modes = None 2817 old_modes = {} 2821 old_modes[report_type] = msvcrt.CrtSetReportMode(report_type, 0) 2837 if old_modes is not None: 2841 msvcrt.CrtSetReportMode(report_type, old_modes[report_type])
|