def test_on_criterion(self): def example(state): return state state = 'test' self.assertTrue( callbacks.on_criterion(example).on_criterion(state) == state)
def test_on_criterion(self): def example(state): return state state = 'test' self.assertTrue(callbacks.on_criterion(example).on_criterion(state) == state)