Home
last modified time | relevance | path

Searched refs:old_modes (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/support/
D__init__.py1957 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__.py2564 old_modes = None variable in SuppressCrashReport
2589 self.old_modes = {}
2597 self.old_modes[report_type] = old_mode, old_file
2642 if self.old_modes:
2643 for report_type, (old_mode, old_file) in self.old_modes.items():
2810 old_modes = None
2821 old_modes = {}
2825 old_modes[report_type] = msvcrt.CrtSetReportMode(report_type, 0)
2841 if old_modes is not None:
2845 msvcrt.CrtSetReportMode(report_type, old_modes[report_type])