Lines Matching defs:warnings
8 import warnings
90 warnings.warn("TestResult has no addSkip method, skips not reported",
294 self.warnings_manager = warnings.catch_warnings(record=True)
295 self.warnings = self.warnings_manager.__enter__()
296 warnings.simplefilter("always", self.expected)
309 for m in self.warnings:
554 warnings.warn("TestResult has no addExpectedFailure method, reporting as passes",
564 warnings.warn("TestResult has no addUnexpectedSuccess method, reporting as failure",
580 warnings.warn(f'It is deprecated to return a value that is not None from a '
1176 warnings.warn('assertDictContainsSubset is deprecated',
1324 that only warnings whose messages also match the regular expression
1368 warnings.warn(