code: def test_decimal_rescale():
      # Test that we don't get back a data array with dtype object when our
      # rescale slope is a decimal
      dw = didw.wrapper_from_file(DATA_FILE_DEC_RSCL)
      assert dw.get_data().dtype != np.dtype(object)
  
imports: import gzip
  from copy import copy
  from decimal import Decimal
  from hashlib import sha1
  from os.path import dirname
  from os.path import join
  from unittest import TestCase
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ...tests.nibabel_data import get_nibabel_data, needs_nibabel_data
  from ...volumeutils import endian_codes
  from ..None import dicomreaders
  from ..None import dicomwrappers
  from .None import dicom_test, have_dicom, pydicom
label_desc: Use image node_id 13 for calling a global function with example usage: test_decimal_rescale() without return types