mirror of
https://github.com/ROCm/jax.git
synced 2025-04-18 04:46:06 +00:00
update test of dlpack error message
This commit is contained in:
parent
efa5edfd39
commit
ef710ec1f6
@ -167,7 +167,7 @@ class DLPackTest(jtu.JaxTestCase):
|
||||
backend = xla_bridge.get_backend()
|
||||
client = getattr(backend, "client", backend)
|
||||
|
||||
regex_str = (r'Unimplemented: Only DLPack tensors with trivial \(compact\) '
|
||||
regex_str = (r'UNIMPLEMENTED: Only DLPack tensors with trivial \(compact\) '
|
||||
r'striding are supported')
|
||||
with self.assertRaisesRegex(RuntimeError, regex_str):
|
||||
xla_client._xla.dlpack_managed_tensor_to_buffer(
|
||||
|
Loading…
x
Reference in New Issue
Block a user