code: def test_scalar_arg():
      size = 5000
      x = np.random.normal(size=(size, size)).astype(np.float32)
  
      msg = ""
      try:
          with tsensor.clarify():
              z = jnp.dot(x, "foo")
      except TypeError as e:
          msg = e.args[0]
  
      expected = (
          "data type 'foo' not understood\n"
          + 'Cause: jnp.dot(x, "foo") tensor arg x w/shape (5000, 5000)'
      )
      assert msg == expected
  
imports: import jax.numpy
  import numpy
  import tsensor
label_desc: Use image node_id 2 for calling a global function with example usage: test_scalar_arg() without return types