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 test_tsnr_withpoly1(self):
      # run
      tsnrresult = TSNR(
          in_file=self.in_filenames["in_file"], regress_poly=1
      ).run()
  
      # assert
      self.assert_expected_outputs_poly(
          tsnrresult,
          {
              "detrended_file": (-0.1, 8.7),
              "mean_file": (2.8, 7.4),
              "stddev_file": (0.75, 2.75),
              "tsnr_file": (1.4, 9.9),
          },
      )
  
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 3 for calling the TestTSNR obj's underlying member method code with example usage: obj.test_tsnr_withpoly1() without return types