code: def test__copytobuffer(in_data, data_type):
      assert _copytobuffer(in_data) == (array("d", [1]), data_type)
  
file_path: pyproj/test/test_utils.py
imports: from array import array
  import numpy
  import pytest
  from pyproj.utils import DataType, _copytobuffer, _copytobuffer_return_scalar
label_desc: Use image node_id 3 for calling a global function with example usage: test__copytobuffer(in_data, data_type) without return types