def mem_assert_no_switchpoints(self): self.add_result( sizeof(gruvi.assert_no_switchpoints(), exclude=('_hub', )))
def test_assert_no_switchpoints(self): # Calling a switchpoint while in an assert_no_switchpoints block should # raise an AssertionError. with gruvi.assert_no_switchpoints(): self.assertRaises(AssertionError, gruvi.sleep, 0)
def mem_assert_no_switchpoints(self): self.add_result(sizeof(gruvi.assert_no_switchpoints(), exclude=('_hub',)))