code: def test_single_group_shortcuts(three_var_model, approx, kw, gcls):
      with three_var_model:
          a = approx(**kw)
      assert isinstance(a, opvi.Approximation)
      assert len(a.groups) == 1
      assert isinstance(a.groups[0], gcls)
  
imports: import functools
  import numpy
  import pytensor.tensor
  import pytest
  import pymc
  from pymc.variational import opvi
  from pymc.variational.approximations import Empirical, EmpiricalGroup, FullRank, FullRankGroup, MeanField, MeanFieldGroup
  from tests.helpers import not_raises
label_desc: Use image node_id 5 for calling a global function with example usage: test_single_group_shortcuts(three_var_model, approx, kw, gcls) without return types