class_docstr: Module level tests for all sktime transformers.
class_docstr_tok: ["Module","level","tests","for","all","sktime","transformers","."]
docstr: Test that the capability:inverse_transform tag is set correctly.
docstr_tok: ["Test","that","the","capability",":","inverse_transform","tag","is","set","correctly","."]
code: def test_capability_inverse_tag_is_correct(self, estimator_instance):
      """Test that the capability:inverse_transform tag is set correctly."""
      capability_tag = estimator_instance.get_tag(
          "capability:inverse_transform"
      )
      skip_tag = estimator_instance.get_tag("skip-inverse-transform")
      if capability_tag and not skip_tag:
          assert estimator_instance._has_implementation_of(
              "_inverse_transform"
          )
  
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 1 for calling the TestAllTransformers obj's underlying member method code with example usage: obj.test_capability_inverse_tag_is_correct(estimator_instance) without return types