code: def test_default_0components():
      with pytest.raises(AttributeError):
          LDA(n_discriminants=0)
  
file_path: mlxtend/mlxtend/feature_extraction/tests/test_linear_discriminant_analysis.py
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal
  from mlxtend.data import iris_data
  from mlxtend.feature_extraction import LinearDiscriminantAnalysis
  from mlxtend.preprocessing import standardize
label_desc: Use image node_id 3 for calling a global function with example usage: test_default_0components() without return types