code: def test_args_tuple_is_passed(self):
      # test that the args tuple is passed to the cost function properly.
      bounds = [(-10, 10)]
      args = (1.0, 2.0, 3.0)
  
      def quadratic(x, *args):
          if type(args) != tuple:
              raise ValueError("args should be a tuple")
          return args[0] + args[1] * x + args[2] * x**2.0
  
      result = differential_evolution(
          quadratic, bounds, args=args, polish=True
      )
      assert_almost_equal(result.fun, 2 / 3.0)
  
imports: import multiprocessing
  import platform
  from scipy.optimize._differentialevolution import DifferentialEvolutionSolver, _ConstraintWrapper
  from scipy.optimize import differential_evolution
  from scipy.optimize._constraints import Bounds, NonlinearConstraint, LinearConstraint
  from scipy.optimize import rosen
  from scipy.sparse import csr_matrix
  from scipy._lib._pep440 import Version
  import numpy
  from numpy.testing import assert_equal, assert_allclose, assert_almost_equal, assert_array_equal, assert_string_equal, assert_, suppress_warnings
  from pytest import raises, warns
  import pytest
label_desc: Use image node_id 17 for calling the TestDifferentialEvolutionSolver obj's underlying member method code with example usage: obj.test_args_tuple_is_passed() and returns: unknown