code: def test_error(compute_backend_df):
      with pytest.raises(NotImplementedError):
          dim_reduc(
              data=compute_backend_df,
              n_components=2,
              dim_method="test_dim_method",
          )
  
file_path: data-describe/tests/test_dimensionality_reduction.py
imports: import pytest
  import sklearn
  from data_describe.compat import _is_dataframe
  from data_describe.dimensionality_reduction.dimensionality_reduction import dim_reduc
label_desc: Use image node_id 1 for calling a global function with example usage: test_error(compute_backend_df) without return types