Skip to content

Commit 5133c7c

Browse files
author
Guru Devanla
authored
Merge pull request #58 from InvestmentSystems/improve-test-suite
Improving on tests
2 parents 5e5b5bf + 4b41e74 commit 5133c7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_util.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ def test_shape_filter_a(self) -> None:
134134
with self.assertRaises(NotImplementedError):
135135
shape_filter(a1.reshape(1,2,5))
136136

137+
with self.assertRaises(NotImplementedError):
138+
# zero dimension
139+
shape_filter(np.array(1))
140+
141+
137142
#---------------------------------------------------------------------------
138143

139144
def test_column_2d_filter_a(self) -> None:

0 commit comments

Comments
 (0)