diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 9cddf36e4..1deb57c6c 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -314,6 +314,14 @@ class PrivmsgTestCase(ChannelPluginTestCase): """Third""" irc.reply(' '.join(args)) + def tearDown(self): + if hasattr(self.First, 'first'): + del self.First.first + if hasattr(self.Second, 'second'): + del self.Second.second + if hasattr(self.FirstRepeat, 'firstrepeat'): + del self.FirstRepeat.firstrepeat + def testDispatching(self): self.irc.addCallback(self.First()) self.irc.addCallback(self.Second())