tests/runtests.py
def write(self, s):
        '''
        Receives messages and logs them using the test runner log level.
        '''
        nbytes = len(s)
        self._buffer += s

        buffered_line = self.consume_line()
        while buffered_line:
            self.testrunner_log(buffered_line)
            buffered_line = self.consume_line()

        return nbytes

        Receives messages and logs them using the test runner log level.
        
Receives messages and logs them using the test runner log level.
Receives messages and logs them using the test runner log level .
def write(self, s):
        nbytes = len(s)
        self._buffer += s
        buffered_line = self.consume_line()
        while buffered_line:
            self.testrunner_log(buffered_line)
            buffered_line = self.consume_line()
        return nbytes
def write ( self , s ) : nbytes = len ( s ) self . _buffer += s buffered_line = self . consume_line ( ) while buffered_line : self . testrunner_log ( buffered_line ) buffered_line = self . consume_line ( ) return nbytes
Receives messages and logs them using the test runner log level.
Receives messages and logs them using the test runner log level .
'''
        Receives messages and logs them using the test runner log level.
        '''
self
s