##// END OF EJS Templates
Fix test_map_iterable()
Samuel Ainsworth -
Show More
@@ -342,8 +342,8 b' class TestView(ClusterTestCase, ParametricTestCase):'
342 342 arr = range(101)
343 343 # ensure it will be an iterator, even in Python 3
344 344 it = iter(arr)
345 r = view.map_sync(lambda x:x, arr)
346 self.assertEqual(r, list(arr))
345 r = view.map_sync(lambda x: x, it)
346 self.assertEqual(r, list(it))
347 347
348 348 @skip_without('numpy')
349 349 def test_map_numpy(self):
General Comments 0
You need to be logged in to leave comments. Login now