code: def CoopParameterizedTestCase(other_base_class):
      """Returns a new base class with a cooperative metaclass base.
  
      This enables the ParameterizedTestCase to be used in combination
      with other base classes that have custom metaclasses, such as
      mox.MoxTestBase.
  
      Only works with metaclasses that do not override type.__new__.
  
      Example:
  
        import google3
        import mox
  
        from google3.testing.pybase import parameterized
  
        class ExampleTest(parameterized.CoopParameterizedTestCase(mox.MoxTestBase)):
          ...
  
      Args:
        other_base_class: (class) A test case base class.
  
      Returns:
        A new class object.
      """
      metaclass = type(
          "CoopMetaclass",
          (other_base_class.__metaclass__, TestGeneratorMetaclass),
          {},
      )
      return metaclass(
          "CoopParameterizedTestCase",
          (other_base_class, ParameterizedTestCase),
          {},
      )
  
imports: import collections
  import functools
  import re
  import types
  import uuid
  import six
label_desc: Use image node_id 11 for calling a global function with example usage: CoopParameterizedTestCase(other_base_class) and returns: metaclass