def test_unspew (self): debug.spew() debug.unspew() self.failUnlessEqual(self.tracer, None)
def test_spew (self): debug.spew() self.failUnless(isinstance(self.tracer, debug.Spew))