def test_readEventsPartialBuffer(self) -> None:
    '\n        L{eventsFromJSONLogFile} handles buffering a partial event.\n        '
    with StringIO('\x1e{"x": 1}\n\x1e{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle, bufferSize=1)
        self.assertEqual(len(self.errorEvents), 0)
L{eventsFromJSONLogFile} handles buffering a partial event.
def test_readEventsPartialBuffer(self) -> None:
    '\n        \n        '
    with StringIO('\x1e{"x": 1}\n\x1e{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle, bufferSize=1)
        self.assertEqual(len(self.errorEvents), 0)