code: def test_dynamic_tags_reset_properly():
      """Test that dynamic tags are being reset properly."""
      from sktime.forecasting.compose import MultiplexForecaster
  
      # this forecaster will have the scitype:y tag set to "univariate"
      f = MultiplexForecaster(
          [("foo", ThetaForecaster()), ("var", VAR())]
      )
      f.set_params(selected_forecaster="var")
  
      X_multivariate = _make_series(n_columns=2)
      # fit should reset the estimator, and set scitype:y tag to "multivariate"
      # the fit will cause an error if this is not happening properly
      f.fit(X_multivariate)
  
imports: from functools import reduce
  from operator import mul
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_series_equal
  from sktime.datatypes import check_is_mtype, convert
  from sktime.datatypes._utilities import get_cutoff, get_window
  from sktime.forecasting.arima import ARIMA
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.forecasting.theta import ThetaForecaster
  from sktime.forecasting.var import VAR
  from sktime.utils._testing.hierarchical import _make_hierarchical
  from sktime.utils._testing.panel import _make_panel
  from sktime.utils._testing.series import _make_series
  from sktime.utils.parallel import _get_parallel_test_fixtures
  from sktime.utils.validation._dependencies import _check_estimator_deps
label_desc: Use image node_id 9 for calling a global function with example usage: test_dynamic_tags_reset_properly() without return types