code: def test_get_origin():
      assert get_origin(Any) is Any
  
      assert get_origin(Tuple[int]) in (tuple, Tuple)
      assert get_origin(FrozenSet[int]) in (frozenset, FrozenSet)
  
      assert get_origin(Union[int, int, str]) is Union
  
      assert (
          get_origin(Reduce[AssociativeOp, Funsor, frozenset]) is Reduce
      )
      assert get_origin(Reduce) is Reduce
  
imports: from typing import Any, FrozenSet, Optional, Tuple, Union
  import pytest
  from multipledispatch import dispatch
  from funsor.ops import AssociativeOp, Op
  from funsor.registry import PartialDispatcher
  from funsor.terms import Cat, Funsor, Number, Reduce, Stack, Variable
  from funsor.typing import GenericTypeMeta, Variadic, deep_isinstance, deep_issubclass, deep_type, get_args, get_origin, get_type_hints, typing_wrap
label_desc: Use image node_id 11 for calling a global function with example usage: test_get_origin() without return types