code: def test_memory_usage_class(dataset, model):
      for x, y in dataset:
          model.learn_one(x, y)
  
      assert model._raw_memory_usage / (2**20) < 0.065
  
file_path: river/river/tree/test_trees.py
imports: from __future__ import annotations
  import random
  import pytest
  from river import drift, tree
  from river.datasets import synth
label_desc: Use image node_id 3 for calling a global function with example usage: test_memory_usage_class(dataset, model) without return types