From 589d55ebcd55503f9e5daecf1f2af719081100ea Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 7 Jan 2013 17:15:17 +0100 Subject: [PATCH] NickAuth: Use assertEqual for string comparison in tests ('foo' is not 'foo' with Pypy). --- plugins/NickAuth/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/NickAuth/test.py b/plugins/NickAuth/test.py index c3cca6bcb..85bcc8122 100644 --- a/plugins/NickAuth/test.py +++ b/plugins/NickAuth/test.py @@ -50,7 +50,7 @@ class NickAuthTestCase(PluginTestCase): self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick, 'auth', prefix=self.prefix)) - self.assertIs(self.irc.takeMsg().command, 'WHOIS') + self.assertEqual(self.irc.takeMsg().command, 'WHOIS') self.assertError('hostmask list') self.irc.feedMsg(ircmsgs.privmsg(self.irc.nick,