code: def test_decision_tree_max_depth():
      model = tree.HoeffdingTreeClassifier()
  
      max_depths = [1, 2, 3, 4, 5, 6]
      models = utils.expand_param_grid(model, {"max_depth": max_depths})
  
      for model, max_depth in zip(models, max_depths):
          assert model.max_depth == max_depth
  
imports: from __future__ import annotations
  import pytest
  from river import compose, linear_model, optim, preprocessing, tree, utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_decision_tree_max_depth() without return types