Searched refs:warntext (Results 1 – 2 of 2) sorted by relevance
628 def check(code, warntext): argument629 with check_py3k_warnings((warntext, DeprecationWarning)):636 self.assertIn(warntext, str(cm.exception))
923 def check(code, warntext): argument924 with self.assertWarnsRegex(DeprecationWarning, warntext):929 with self.assertRaisesRegex(SyntaxError, warntext):