code: def test_unsupported_type():
      data = {"N": np.float32(10), "y": [0, 1, 0, 0, 0, 0, 0, 0, 0, 1]}
      with pytest.raises(
          TypeError,
          match="Object of type float32 is not JSON serializable",
      ):
          stan.build(program_code, data=data, random_seed=1)
  
imports: import numpy
  import pytest
  import stan
label_desc: Use image node_id 1 for calling a global function with example usage: test_unsupported_type() without return types