Removed stupid for loops that I forgot to remove when I removed the debug.printfs.

This commit is contained in:
Jeremy Fincher 2003-09-01 06:00:38 +00:00
parent d1677d4192
commit 7ae25e44b9

View File

@ -101,9 +101,7 @@ class IrcMsgQueueTestCase(unittest.TestCase):
class ChannelTestCase(unittest.TestCase): class ChannelTestCase(unittest.TestCase):
def testPickleCopy(self): def testPickleCopy(self):
c = irclib.Channel() c = irclib.Channel()
for name in c.__slots__:
c1 = pickle.loads(pickle.dumps(c)) c1 = pickle.loads(pickle.dumps(c))
for name in c1.__slots__:
self.assertEqual(pickle.loads(pickle.dumps(c)), c) self.assertEqual(pickle.loads(pickle.dumps(c)), c)
def testAddUser(self): def testAddUser(self):