def test_class_not_in_progress(self): self.assertFalse(jeni.class_in_progress())
def test_broken_stack(self): stack = [(None, None, None, None, None, None)] self.assertFalse(jeni.class_in_progress(stack=stack))
class Dummy(object): self.assertTrue(jeni.class_in_progress())