class_docstr: Test fake binary header defined at top of module
class_docstr_tok: ["Test","fake","binary","header","defined","at","top","of","module"]
code: def test_copy(self):
      hdr = self.header_class()
      hdr2 = hdr.copy()
      assert hdr == hdr2
      self._set_something_into_hdr(hdr)
      assert hdr != hdr2
      self._set_something_into_hdr(hdr2)
      assert hdr == hdr2
  
imports: import logging
  from io import BytesIO, StringIO
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ..None import imageglobals
  from ..batteryrunners import Report
  from ..casting import sctypes
  from ..spatialimages import HeaderDataError
  from ..volumeutils import Recoder, native_code, swapped_code
  from ..wrapstruct import LabeledWrapStruct, WrapStruct, WrapStructError
label_desc: Use image node_id 5 for calling the TestMyWrapStruct obj's underlying member method code with example usage: obj.test_copy() without return types