def test_readEventsAutoEmptyRecordSeparator(self) -> None:
    '\n        L{eventsFromJSONLogFile} reads events from a file and automatically\n        detects use of C{""} as the record separator.\n        '
    with StringIO('{"x": 1}\n{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle)
        self.assertEqual(len(self.errorEvents), 0)
L{eventsFromJSONLogFile} reads events from a file and automatically
detects use of C{""} as the record separator.
def test_readEventsAutoEmptyRecordSeparator(self) -> None:
    '\n        L{eventsFromJSONLogFile} reads events from a file and automatically\n        detects use of C{} as the record separator.\n        '
    with StringIO('{"x": 1}\n{"y": 2}\n') as fileHandle:
        self._readEvents(fileHandle)
        self.assertEqual(len(self.errorEvents), 0)