def test_008_is_callable(self): func = lambda x: print(x) not_func = 'This is not callable as method' self.assertTrue(EventHandler.is_callable(func)) self.assertFalse(EventHandler.is_callable(not_func))
def test_008_is_callable(self): func = lambda x: print(x) not_func = 'This is not callable as method' self.assertTrue(EventHandler.is_callable(func)) self.assertFalse(EventHandler.is_callable(not_func))