(self)
| 93 | support.reap_children() |
| 94 | |
| 95 | def tearDown(self): |
| 96 | if not mswindows: |
| 97 | # subprocess._active is not used on Windows and is set to None. |
| 98 | for inst in subprocess._active: |
| 99 | inst.wait() |
| 100 | subprocess._cleanup() |
| 101 | self.assertFalse( |
| 102 | subprocess._active, "subprocess._active not empty" |
| 103 | ) |
| 104 | self.doCleanups() |
| 105 | support.reap_children() |
| 106 | |
| 107 | |
| 108 | class PopenTestException(Exception): |
no test coverage detected