code: def test_tensor_creator_ignores_rare_dtype_name():
      # This could be a dtype, but we assume it's a name
      assert tensor("a", shape=(None,)).type.dtype == config.floatX
  
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 21 for calling a global function with example usage: test_tensor_creator_ignores_rare_dtype_name() without return types