diff --git a/test/test_callbacks.py b/test/test_callbacks.py index 73145dc51..d8a308a4c 100644 --- a/test/test_callbacks.py +++ b/test/test_callbacks.py @@ -256,9 +256,10 @@ class PrivmsgTestCase(ChannelPluginTestCase): self.assertRegexp('help firstrepeat firstcmd', 'FirstRepeat', 0) def testEmptyNest(self): - self.assertError('echo []') try: conf.replyWhenNotCommand = True + self.assertError('echo []') + conf.replyWhenNotCommand = False self.assertResponse('echo []', '[]') finally: conf.replyWhenNotCommand = False