(self, endtime, orig_timeout, stdout_seq, stderr_seq,
                       skip_check_and_raise=False)
Convenience for checking if a timeout has expired.
Convenience for checking if a timeout has expired.
Convenience for checking if a timeout has expired .
def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq,
                       skip_check_and_raise=False):
        """Convenience for checking if a timeout has expired."""
        if endtime is None:
            return
        if skip_check_and_raise or _time() > endtime:
            raise TimeoutExpired(
                    self.args, orig_timeout,
                    output=b''.join(stdout_seq) if stdout_seq else None,
                    stderr=b''.join(stderr_seq) if stderr_seq else None)
def _check_timeout ( self , endtime , orig_timeout , stdout_seq , stderr_seq , skip_check_and_raise = False ) : if endtime is None : return if skip_check_and_raise or _time ( ) > endtime : raise TimeoutExpired ( self . args , orig_timeout , output = b'' . join ( stdout_seq ) if stdout_seq else None , stderr = b'' . join ( stderr_seq ) if stderr_seq else None )