def test_3d_random(self):
        # throw a bunch of different indexes at it for good measure.
        choices = map(lambda x: repr(x),range(50)) + range(50) + ['']*50
        for i in range(100):
            try:
                idx = []
                for i in range(9):
                    val = random.choice(choices)
                    if (i+1) % 3 == 0 and val in ['0',0]:
                        val = 'None'
                    idx.append(val)
                expr = 'a[%s:%s:%s,%s:%s:%s,%s:%s:%s]' % tuple(idx)
                self.generic_3d(expr)
            except __HOLE__:
                pass
dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_size_check.py/TestDummyArrayIndexing.test_3d_random