def test_1d_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:
                beg = random.choice(choices)
                end = random.choice(choices)
                step = random.choice(choices)
                if step in ['0',0]:
                    step = 'None'
                self.generic_1d('a[%s:%s:%s]' % (beg,end,step))
            except __HOLE__:
                pass
dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_size_check.py/TestDummyArrayIndexing.test_1d_random