Lines Matching refs:warnings
6 import warnings
63 failfast = catchbreak = buffer = progName = warnings = testNamePatterns = None
69 buffer=None, warnings=None, *, tb_locals=False):
85 if warnings is None and not sys.warnoptions:
87 # print them anyway unless other warnings settings are
88 # specified by the warnings arg or the -W python flag
89 self.warnings = 'default'
91 # here self.warnings is set either to the value passed
92 # to the warnings args or to None.
93 # If the user didn't pass a value self.warnings will
96 self.warnings = warnings
105 warnings.warn("TestProgram.usageExit() is deprecated and will be"
260 warnings=self.warnings,
267 warnings=self.warnings)