Forgot this one last remnant of callbacks.PrivmsgRegexp.

This commit is contained in:
Jeremy Fincher 2005-02-07 06:23:01 +00:00
parent 972716069c
commit 808db8153b
1 changed files with 1 additions and 2 deletions

View File

@ -357,8 +357,7 @@ class PluginTestCase(SupyTestCase):
for cb in self.irc.callbacks:
name = cb.name()
if ((name in self._noTestDoc) and \
not name.lower() in self.__class__.__name__.lower()) or \
isinstance(cb, callbacks.PrivmsgRegexp):
not name.lower() in self.__class__.__name__.lower()):
continue
self.failUnless(sys.modules[cb.__class__.__name__].__doc__,
'%s has no module documentation.' % name)