Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_baseexception.py128 def catch_fails(self, object_): member in UsageTests
170 self.catch_fails(NonBaseException)
171 self.catch_fails(NonBaseException())
175 self.catch_fails(BaseException())
179 self.catch_fails("spam")
/external/python/cpython2/Lib/test/
Dtest_pep352.py157 def catch_fails(self, object_): member in UsageTests