def start_test(self, *largs):
        self.but.text = 'test started'
        self.slider.max = len(self.tests)

        def test(*l):
            if self.test_done:
                try:
                    but = self.tests[int(self.slider.value)]
                    self.slider.value += 1
                    but.state = 'down'
                    print('=====================')
                    print('Test:', but.text)
                    print('=====================')
                    but.test(but)
                except __HOLE__:
                    for but in self.tests:
                        but.state = 'normal'
                    self.but.text = 'Start Test'
                    self.slider.value = 0
                    print('===================')
                    print('All Tests Completed')
                    print('===================')
                    Clock.unschedule(test)

        Clock.schedule_interval(test, 1)
dataset/ETHPy150Open kivy/kivy/kivy/tests/perf_test_textinput.py/PerfApp.start_test