code: def _check_division(expect_true_division):  # pragma: no cover
      # We evaluate the formula "I(x / y)" in our *caller's* scope, so the
      # result depends on whether our caller has done 'from __future__ import
      # division'.
      data = {"x": 5, "y": 2}
      m = dmatrix("0 + I(x / y)", data, 1)
      if expect_true_division:
          assert np.allclose(m, [[2.5]])
      else:
          assert np.allclose(m, [[2]])
  
imports: import sys
  import __future__
  import six
  import numpy
  import pytest
  from patsy import PatsyError
  from patsy.design_info import DesignMatrix, DesignInfo
  from patsy.eval import EvalEnvironment
  from patsy.desc import ModelDesc, Term, INTERCEPT
  from patsy.categorical import C
  from patsy.contrasts import Helmert
  from patsy.user_util import balanced, LookupFactor
  from patsy.build import design_matrix_builders, build_design_matrices
  from patsy.highlevel import *
  from patsy.util import have_pandas, have_pandas_categorical, have_pandas_categorical_dtype, pandas_Categorical_from_codes
  from patsy.origin import Origin
label_desc: Use image node_id 15 for calling a global function with example usage: _check_division(expect_true_division) without return types