'If the file being read from vends L{unicode}, strings decode from JSON
as-is.'

def test_readUnicode(self):

    with StringIO(u'\x1e{"currency":    "\u20ac"}\n') as fileHandle:
        events = eventsFromJSONLogFile(fileHandle)
        self.assertEqual(next(events), {u'currency': u'\u20ac'})
        self.assertRaises(StopIteration, next, events)
        self.assertEqual(len(self.errorEvents), 0)
