code: def test_single_element(self):
      X = [[[1]]]
  
      result = fmim._convert_to_ndarray_and_squeeze(X)
  
      assert isinstance(result, np.ndarray)
      assert result.shape == (1,)
      assert result[0] == 1
  
file_path: fairlearn/test/unit/utils/test_input_manipulations.py
imports: import numpy
  import pytest
  import fairlearn.utils._input_manipulations
label_desc: Use image node_id 4 for calling the TestConvertToNDArrayAndSqueeze obj's underlying member method code with example usage: obj.test_single_element() without return types