Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_zipimport.py26 raise_src = 'def do_raise(): raise TypeError\n' variable
369 self.assertEqual(line, raise_src.strip())
372 self.assertEqual(line, raise_src.strip())
376 self.assertTrue(s.getvalue().endswith(raise_src))
381 files = {TESTMOD + ".py": (NOW, raise_src)}
/external/python/cpython3/Lib/test/
Dtest_zipimport.py32 raise_src = 'def do_raise(): raise TypeError\n' variable
641 self.assertEqual(line, raise_src.strip())
644 self.assertEqual(line, raise_src.strip())
648 self.assertTrue(s.getvalue().endswith(raise_src))
653 files = {TESTMOD + ".py": (NOW, raise_src)}