MCPcopy Index your code
hub / github.com/python/cpython / test_sys_exception_no_exception

Method test_sys_exception_no_exception

Lib/test/test_sys.py:104–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 self.assertEqual(sys.exc_info(), (None, None, None))
103
104 def test_sys_exception_no_exception(self):
105 self.assertEqual(sys.exception(), None)
106
107 def test_exc_info_with_exception_instance(self):
108 def f():

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
exceptionMethod · 0.45

Tested by

no test coverage detected