code: def test_mro(model):
      found_base = False
      for cl in reversed(inspect.getmro(model.__class__)):
          if cl == Base:
              if found_base:
                  pytest.fail("Found Base class twice in the MRO")
              else:
                  found_base = True
  
imports: from sklearn.datasets import make_classification
  from cuml.testing.utils import ClassEnumerator
  from cuml.internals.base import Base
  from cuml.internals.safe_imports import cpu_only_import
  import inspect
  import pytest
  import cuml
  import cuml.internals.mixins
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 7 for calling a global function with example usage: test_mro(model) without return types