Skip to content

Commit

Permalink
Update test_ndarray.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Dec 15, 2024
1 parent c289edd commit c7bb63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainpy/_src/math/tests/test_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _f(self, b):

def test_tracing(self):
print(self.f(1.))
with self.assertRaises(RuntimeError):
with self.assertRaises(jax.errors.UnexpectedTracerError):
print(self.f(bm.ones(10)))


Expand Down

0 comments on commit c7bb63a

Please sign in to comment.