Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Jan 21, 2024
1 parent 69824b3 commit 0214a9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_vlen.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def runTest(self):
assert_array_equal(f.variables['vlen_scalar'][...],np.array([1,2,3],np.int16))
data2 = v[:]
data2s = vs[:]
# issue #1306
assert repr(vs[[0,2,3],0]) == "array(['ab', 'abcdefghijkl', 'abcdefghijklmnopq'], dtype=object)"
for i in range(nlons):
for j in range(nlats):
assert_array_equal(data2[j,i], data[j,i])
Expand Down

0 comments on commit 0214a9c

Please sign in to comment.