code: def test_objectmapper_deprecated(self):
      df = pdml.ModelFrame([])
      with tm.assert_produces_warning(FutureWarning):
          self.assertIs(
              df.lda.LinearDiscriminantAnalysis,
              da.LinearDiscriminantAnalysis,
          )
      with tm.assert_produces_warning(FutureWarning):
          self.assertIs(
              df.qda.QuadraticDiscriminantAnalysis,
              da.QuadraticDiscriminantAnalysis,
          )
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_discriminant_analysis.py
imports: import pytest
  import sklearn.datasets
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 2 for calling the TestDiscriminantAnalysis obj's underlying member method code with example usage: obj.test_objectmapper_deprecated() without return types