Update test_zip
@@ -52,5 +52,5 @@ class TestStruct(TestCase):
def test_zip(self):
a = StaggeredGrid('a')
b = StaggeredGrid('b')
- zipped = stack([a, b])
- numpy.testing.assert_equal(zipped.staggered, ('a', 'b'))
\ No newline at end of file
+ stacked = map(lambda *x: x, zip([a, b]))
+ numpy.testing.assert_equal(stacked.staggered, ('a', 'b'))
\ No newline at end of file
