This commit is contained in:
Gil Forcada 2015-05-03 08:25:19 +02:00
parent 0ade2c4329
commit 2baafcbfd8
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class TestCommentForm(unittest.TestCase):
self.assertFalse(commentForm.handleComment(commentForm, "foo"))
comments = IConversation(commentForm.context).getComments()
comments = [comment for comment in comments] # consume itertor
comments = [comment for comment in comments] # consume iterator
self.assertEqual(len(comments), 1)
for comment in comments: