def test_failures(self):
    for (idx, doc) in enumerate(JSONDOCS):
        idx = (idx + 1)
        if (idx in SKIPS):
            self.loads(doc)
            continue
        try:
            self.loads(doc)
        except self.JSONDecodeError:
            pass
        else:
            self.fail('Expected failure for fail{0}.json: {1!r}'.format(idx, doc))
def test_failures(self):
    for (idx, doc) in enumerate(JSONDOCS):
        idx = (idx + 1)
        if (idx in SKIPS):
            self.loads(doc)
            continue
        try:
            self.loads(doc)
        except self.JSONDecodeError:
            pass
        else:
            self.fail('Expected failure for fail{0}.json: {1!r}'.format(idx, doc))