From 6760e7952571f001c24b2656005fbf14d77835c5 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 19 Apr 2025 21:36:43 +0200 Subject: [PATCH] Remove redundant assertion --- plugins/Channel/test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/Channel/test.py b/plugins/Channel/test.py index 99b3bf59e..c2ed15ae2 100644 --- a/plugins/Channel/test.py +++ b/plugins/Channel/test.py @@ -428,9 +428,6 @@ class ChannelTestCase(ChannelPluginTestCase): def testInviteCustomCapability(self): self.irc.feedMsg(ircmsgs.op(self.channel, self.nick)) - self.assertError('invite foo', - frm='test!user@with__no_testcap__') - with conf.supybot.plugins.Channel.invite.requireCapability.context('freeinvite'): m = self.getMsg('invite foo', frm='test!user@with__no_testcap__')