class_docstr: Note: Tests currently do a poor job of testing functionality
class_docstr_tok: ["Note",":","Tests","currently","do","a","poor","job","of","testing","functionality"]
code: def assert_unchanged(self, expected_ranges):
      for key, (min_, max_) in expected_ranges.items():
          data = np.asarray(nb.load(self.out_filenames[key]).dataobj)
          npt.assert_almost_equal(np.amin(data), min_, decimal=1)
          npt.assert_almost_equal(np.amax(data), max_, decimal=1)
  
file_path: nipype/nipype/algorithms/tests/test_TSNR.py
imports: from ...testing import utils
  from ..confounds import TSNR
  from ..None import misc
  import pytest
  import numpy.testing
  from unittest import mock
  import nibabel
  import numpy
  import os
label_desc: Use image node_id 10 for calling the TestTSNR obj's underlying member method code with example usage: obj.assert_unchanged(expected_ranges) without return types