def test_array_decoder_issue46(self):
        # http://code.google.com/p/simplejson/issues/detail?id=46
        for doc in [u'[,]', '[,]']:
            try:
                json.loads(doc)
            except json.JSONDecodeError, e:
                self.assertEquals(e.pos, 1)
                self.assertEquals(e.lineno, 1)
                self.assertEquals(e.colno, 1)
            except Exception, e:
                self.fail("Unexpected exception raised %r %s" % (e, e))
            else:
                self.fail("Unexpected success parsing '[,]'")
dataset/ETHPy150Open CollabQ/CollabQ/vendor/simplejson/tests/test_fail.py/TestFail.test_array_decoder_issue46/original