code: def test__copytobuffer_return_scalar__invalid():
      with pytest.raises(TypeError):
          _copytobuffer_return_scalar("invalid")
  
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 2 for calling a global function with example usage: test__copytobuffer_return_scalar__invalid() without return types