parameters: (self)
return_statement: return version
docstring: Copy test images if needed.
docstring_summary: Copy test images if needed.
docstring_tokens: Copy test images if needed .
function: def _copy_images(self):
      """Copy test images if needed."""
      version = self.m.run.asset_version('skimage', self._skia_dir)
      self.m.run.writefile(
          self.m.path.join(self.m.vars.tmp_dir, VERSION_FILE_SK_IMAGE),
          version)
      self._copy_dir(
          version,
          VERSION_FILE_SK_IMAGE,
          self.m.vars.tmp_dir,
          self.host_dirs.images_dir,
          self.device_dirs.images_dir)
      return version
function_tokens: def _copy_images ( self ) : version = self . m . run . asset_version ( 'skimage' , self . _skia_dir ) self . m . run . writefile ( self . m . path . join ( self . m . vars . tmp_dir , VERSION_FILE_SK_IMAGE ) , version ) self . _copy_dir ( version , VERSION_FILE_SK_IMAGE , self . m . vars . tmp_dir , self . host_dirs . images_dir , self . device_dirs . images_dir ) return version