code: def test_inheritance2():
      class A(eqxi.Enumeration):
          a = "a"
          b = "b"
  
      class B(eqxi.Enumeration):
          a = "a"
          c = "c"
  
      class C(A, B):  # pyright: ignore
          pass
  
      assert C.promote(A.a) == C.a
      assert C.promote(A.b) == C.b
      assert C.promote(B.a) == C.a
      assert C.promote(B.c) == C.c
  
file_path: equinox/tests/test_enum.py
imports: import equinox
  import equinox.internal
  import jax
  import jax.numpy
  import jax.tree_util
  import pytest
  from .helpers import tree_allclose
label_desc: Use image node_id 5 for calling a global function with example usage: test_inheritance2() without return types