Skip to content

Commit b10de68

Browse files
committed
Fix test
1 parent 8890150 commit b10de68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/tests/test_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_allocation_info_fails(self) -> None:
171171
)
172172
for test_case in test_cases:
173173
kwargs = test_case[0]
174-
with self.assertRaisesRegex(ValueError, test_case[1], msg=f"{kwargs}"):
174+
with self.assertRaisesRegex(Exception, test_case[1], msg=f"{kwargs}"):
175175
make_allocation_info(**kwargs)
176176

177177
def test_contiguous_stride_from_shape(self) -> None:

0 commit comments

Comments
 (0)