190
190
# Use itertools.imap() instead of use zip() or map(), since they fully
191
191
# evaluate their inputs, the transport requests should be issued and
192
192
# handled sequentially (we don't want to force transport to buffer).
193
for content, f in itertools.imap(None, contents, content_f):
194
194
self.assertEqual(content, f.read())
196
196
content_f = t.get_multi(iter(files))
197
197
# Use itertools.imap() for the same reason
198
for content, f in itertools.imap(None, contents, content_f):
199
199
self.assertEqual(content, f.read())
201
201
self.assertRaises(NoSuchFile, t.get, 'c')