code: def test_eval_env_type_builder():
      data = {"x": [1, 2, 3]}
  
      def iter_maker():
          yield data
  
      pytest.raises(
          TypeError,
          design_matrix_builders,
          [make_termlist("x")],
          iter_maker,
          "foo",
      )
  
imports: from __future__ import print_function
  import six
  import numpy
  import pytest
  from patsy import PatsyError
  from patsy.util import atleast_2d_column_default, have_pandas, have_pandas_categorical
  from patsy.desc import Term, INTERCEPT
  from patsy.build import *
  from patsy.categorical import C
  from patsy.user_util import balanced, LookupFactor
  from patsy.design_info import DesignMatrix, DesignInfo
label_desc: Use image node_id 18 for calling a global function with example usage: test_eval_env_type_builder() without return types