Convenience for _communicate when computing timeouts.
(self, endtime)
| 1237 | |
| 1238 | |
| 1239 | def _remaining_time(self, endtime): |
| 1240 | """Convenience for _communicate when computing timeouts.""" |
| 1241 | if endtime is None: |
| 1242 | return None |
| 1243 | else: |
| 1244 | return endtime - _time() |
| 1245 | |
| 1246 | |
| 1247 | def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq, |
no outgoing calls
no test coverage detected