'If the file being read from vends L{bytes}, strings decode from JSON as
UTF-8.'

def test_readUTF8Bytes(self):

    with BytesIO('\x1e{"currency":    "\xe2\x82\xac"}\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)
