code: def test_tune_not_inplace():
      orig_scaling = np.array([0.001, 0.1])
      returned_scaling = tune(orig_scaling, acc_rate=0.6)
      assert returned_scaling is not orig_scaling
      assert np.all(orig_scaling == np.array([0.001, 0.1]))
  
imports: import re
  import numpy
  import pytest
  from numpy.testing import assert_allclose
  import pymc
  from pymc.exceptions import ImputationWarning
  from pymc.step_methods.metropolis import tune
  from pymc.testing import select_by_precision
  from pymc.tuning import find_MAP
  from tests import models
  from tests.models import non_normal, simple_arbitrary_det, simple_model
label_desc: Use image node_id 2 for calling a global function with example usage: test_tune_not_inplace() without return types