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

Method tearDown

Lib/test/test_socketserver.py:71–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 self.test_files = []
70
71 def tearDown(self):
72 reap_children()
73
74 for fn in self.test_files:
75 try:
76 os.remove(fn)
77 except OSError:
78 pass
79 self.test_files[:] = []
80
81 def pickaddr(self, proto):
82 if proto == socket.AF_INET:

Callers

nothing calls this directly

Calls 2

reap_childrenFunction · 0.90
removeMethod · 0.45

Tested by

no test coverage detected