code: def test_depr(self):
      deprecated_list = (
          self.deprecated_classes
          + self.deprecated_funcs
          + self.deprecated_funcs_in_future
      )
      for depr in deprecated_list:
          with tm.assert_produces_warning(FutureWarning):
              _ = getattr(pd, depr)
  
imports: from __future__ import annotations
  import pytest
  import pandas
  from pandas import api
  import pandas._testing
  from pandas.api import extensions, indexers, interchange, types, typing
label_desc: Use image node_id 3 for calling the TestPDApi obj's underlying member method code with example usage: obj.test_depr() without return types