Skip to content

Commit c7bb63a

Browse files
committed
Update test_ndarray.py
1 parent c289edd commit c7bb63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: brainpy/_src/math/tests/test_ndarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _f(self, b):
6262

6363
def test_tracing(self):
6464
print(self.f(1.))
65-
with self.assertRaises(RuntimeError):
65+
with self.assertRaises(jax.errors.UnexpectedTracerError):
6666
print(self.f(bm.ones(10)))
6767

6868

0 commit comments

Comments
 (0)