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

View File

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