code: def test_parameters_for_axis_1_no_n(self):
      with pytest.raises(AttributeError) as err:
          train_test_split(
              make_dataset(1, 10),
              axis=1,
              horizon=1,
              vertical_split_type=MODEL_AWARE,
          )
      assert (
          str(err.value)
          == "You need to provide non-zero `horizon` and `input_size` parameters when axis=1"
      )
  
imports: import pytest
  from darts.utils.model_selection import MODEL_AWARE, SIMPLE, train_test_split
  from darts.utils.timeseries_generation import constant_timeseries
label_desc: Use image node_id 2 for calling the TestClassTrainTestSplit obj's underlying member method code with example usage: obj.test_parameters_for_axis_1_no_n() without return types