def test_readEventsExplicitRecordSeparator(self) -> None:
    '\n        L{eventsFromJSONLogFile} reads events from a file and is told to use\n        a specific record separator.\n        '
    with StringIO('\x08{"x": 1}\n\x08{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle, recordSeparator='\x08')
        self.assertEqual(len(self.errorEvents), 0)
L{eventsFromJSONLogFile} reads events from a file and is told to use
a specific record separator.
def test_readEventsExplicitRecordSeparator(self) -> None:
    '\n        L{eventsFromJSONLogFile} reads events from a file and is told to use\n        a specific record separator.\n        '
    with StringIO('\x08{"x": 1}\n\x08{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle, recordSeparator='\x08')
        self.assertEqual(len(self.errorEvents), 0)