Home
last modified time | relevance | path

Searched refs:_run_exitfuncs (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_atexit.py51 atexit._run_exitfuncs()
58 self.assertRaises(TypeError, atexit._run_exitfuncs)
65 atexit._run_exitfuncs()
74 self.assertRaises(TypeError, atexit._run_exitfuncs)
81 self.assertRaises(ZeroDivisionError, atexit._run_exitfuncs)
88 self.assertRaises(SystemExit, atexit._run_exitfuncs)
103 self.assertRaises(ZeroDivisionError, atexit._run_exitfuncs)
117 atexit._run_exitfuncs()
128 atexit._run_exitfuncs()
143 atexit._run_exitfuncs()
[all …]
/external/python/cpython2/Lib/test/
Dtest_atexit.py31 atexit._run_exitfuncs()
37 self.assertRaises(TypeError, atexit._run_exitfuncs)
43 atexit._run_exitfuncs()
53 atexit._run_exitfuncs()
61 self.assertRaises(TypeError, atexit._run_exitfuncs)
67 self.assertRaises(SystemExit, atexit._run_exitfuncs)
/external/python/cpython2/Lib/
Datexit.py13 def _run_exitfuncs(): function
52 sys.exitfunc = _run_exitfuncs