code: def test_scalar_creator_helper():
      default = scalar()
      assert default.type.dtype == config.floatX
      assert default.type.ndim == 0
      assert default.type.shape == ()
      assert default.name is None
  
      custom = scalar(name="custom", dtype="int64")
      assert custom.dtype == "int64"
      assert custom.type.ndim == 0
      assert custom.type.shape == ()
  
imports: import os.path
  from tempfile import mkdtemp
  import numpy
  import pytest
  import pytensor.tensor
  from pytensor.configdefaults import config
  from pytensor.tensor.shape import SpecifyShape
  from pytensor.tensor.type import TensorType, col, matrix, row, scalar, tensor, tensor3, tensor4, tensor5, tensor6, tensor7, vector
label_desc: Use image node_id 22 for calling a global function with example usage: test_scalar_creator_helper() without return types