def test_noniterable(self):
        val = self.arr
        while True:
            try:
                val = val[0]
            except __HOLE__:
                break
        method = self.model.objects.create
        self.assertRaises(ValidationError, method, arr=val)
dataset/ETHPy150Open ecometrica/django-dbarray/dbarray/tests/tests.py/ArrayTestMixin.test_noniterable