def test_failures(self):
        for idx, doc in enumerate(JSONDOCS):
            idx = idx + 1
            if idx in SKIPS:
                json.loads(doc)
                continue
            try:
                json.loads(doc)
            except ValueError:
                pass
            else:
                self.fail("Expected failure for fail%d.json: %r" % (idx, doc))
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/simplejson/simplejson/tests/test_fail.py/TestFail.test_failures/original