Skip to content

Commit

Permalink
tf2jax: access ConcretizationTypeError from jax.errors rather than ja…
Browse files Browse the repository at this point in the history
…x.core

PiperOrigin-RevId: 705579536
  • Loading branch information
Jake VanderPlas authored and TF2JAXDev committed Dec 12, 2024
1 parent 171d7e3 commit 34f26f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf2jax/_src/ops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ def test_range(self):
def range_fn(start, limit, delta):
return tf.raw_ops.Range(start=start, limit=limit, delta=delta)
# jnp.range cannot be jitted.
with self._assert_if_jitted(jax.core.ConcretizationTypeError):
with self._assert_if_jitted(jax.errors.ConcretizationTypeError):
self._test_convert(range_fn, inputs)

# Check static inputs result in static outputs.
Expand Down

0 comments on commit 34f26f5

Please sign in to comment.