class_docstr: Module level tests for all sktime transformers.
class_docstr_tok: ["Module","level","tests","for","all","sktime","transformers","."]
docstr: Test that the remember_data tag is set correctly.
docstr_tok: ["Test","that","the","remember_data","tag","is","set","correctly","."]
code: def test_remember_data_tag_is_correct(self, estimator_instance):
      """Test that the remember_data tag is set correctly."""
      fit_empty_tag = estimator_instance.get_tag("fit_is_empty", True)
      remember_data_tag = estimator_instance.get_tag(
          "remember_data", False
      )
      msg = (
          'if the "remember_data" tag is set to True, then the "fit_is_empty" tag '
          "must be set to False, even if _fit is not implemented or empty. "
          "This is due to boilerplate that write to self.X in fit. "
          f"Please check these two tags in {type(estimator_instance)}."
      )
      if fit_empty_tag and remember_data_tag:
          raise AssertionError(msg)
  
file_path: sktime/sktime/transformations/tests/test_all_transformers.py
imports: import pandas
  from sktime.datatypes import check_is_scitype, convert_to
  from sktime.tests.test_all_estimators import BaseFixtureGenerator, QuickTester
  from sktime.utils._testing.estimator_checks import _assert_array_almost_equal
label_desc: Use image node_id 2 for calling the TestAllTransformers obj's underlying member method code with example usage: obj.test_remember_data_tag_is_correct(estimator_instance) without return types