code: def test_smart_array_concatenate_single():
      arr = np.random.rand(3, 4, 5)
      result = _check_smart_concatenate([arr])
      assert result is arr
  
      # this should pass through sequences directly, because downstream might handle it better. For
      # instance, pandas.Index(range(...)) is far more efficient than pandas.Index(np.arange(...)).
      rng = range(10)
      result = _check_smart_concatenate([rng], check_strides=False)
      assert result is rng
  
file_path: stellargraph/tests/core/test_utils.py
imports: import pytest
  import numpy
  from stellargraph.core.utils import *
  from ..test_utils import flaky_xfail_mark
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 10 for calling a global function with example usage: test_smart_array_concatenate_single() without return types