code: def test_issue_1272():
      """
  
      https://github.com/online-ml/river/issues/1272
  
      >>> import river
      >>> from river import forest, metrics
  
      >>> model = forest.ARFClassifier(metric=metrics.CrossEntropy())
      >>> model.learn_one({"x": 1}, True)
  
      >>> model = forest.ARFClassifier()
      >>> model.learn_one({"x": 1}, True)
  
      """
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_issue_1272() without return types