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

Method asyncTearDown

Lib/test/test_unittest/test_async_case.py:86–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

84 self.addAsyncCleanup(self.on_cleanup6)
85
86 async def asyncTearDown(self):
87 self.assertEqual(events, expected[:3])
88 VAR.set(VAR.get() + ('asyncTearDown',))
89 events.append('asyncTearDown')
90
91 def tearDown(self):
92 self.assertEqual(events, expected[:4])

Callers

nothing calls this directly

Calls 5

MyExceptionClass · 0.70
assertEqualMethod · 0.45
setMethod · 0.45
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected