Skip to content

Commit 17751f8

Browse files
Uncomment nested struct test.
1 parent da7e1cb commit 17751f8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

dynd/nd/test/test_array_construct.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,15 +277,12 @@ def test_single_struct(self):
277277
self.assertEqual(nd.as_py(a[2]), True)
278278

279279
def test_nested_struct(self):
280-
"""
281-
# FIX ME
282280
a = nd.array([[1,2], ['test', 3.5], [3j]],
283281
type='{x: 2 * int16, y: {a: string, b: float64}, z: 1 * complex[float32]}')
284282
self.assertEqual(nd.as_py(a.x), [1, 2])
285283
self.assertEqual(nd.as_py(a.y.a), 'test')
286284
self.assertEqual(nd.as_py(a.y.b), 3.5)
287285
self.assertEqual(nd.as_py(a.z), [3j])
288-
"""
289286

290287
a = nd.array({'x':[1,2], 'y':{'a':'test', 'b':3.5}, 'z':[3j]},
291288
type='{x: 2 * int16, y: {a: string, b: float64}, z: 1 * complex[float64]}')

0 commit comments

Comments
 (0)