Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_timeit.py199 def assert_exc_string(self, exc_string, expected_exc_name): member in TestTimeit
212 self.assert_exc_string(s.getvalue(), 'ZeroDivisionError')
307 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError')
312 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError')
/external/python/cpython3/Lib/test/
Dtest_timeit.py213 def assert_exc_string(self, exc_string, expected_exc_name): member in TestTimeit
226 self.assert_exc_string(s.getvalue(), 'ZeroDivisionError')
350 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError')
355 self.assert_exc_string(error_stringio.getvalue(), 'ZeroDivisionError')