code: def test_regression_std_vector_dtypes():
      # Regression test for gh-3780, checking the std::vector typemaps
      # in sparsetools.cxx are complete.
      for dtype in supported_dtypes:
          ad = matrix([[1, 2], [3, 4]]).astype(dtype)
          a = csr_matrix(ad, dtype=dtype)
  
          # getcol is one function using std::vector typemaps, and should not fail
          assert_equal(a.getcol(0).todense(), ad[:, 0])
  
imports: import sys
  import os
  import gc
  import threading
  import numpy
  from numpy.testing import assert_equal, assert_, assert_allclose
  from scipy.sparse import _sparsetools, coo_matrix, csr_matrix, csc_matrix, bsr_matrix, dia_matrix
  from scipy.sparse.sputils import supported_dtypes, matrix
  from scipy._lib._testutils import check_free_memory
  import pytest
  from pytest import raises
label_desc: Use image node_id 3 for calling a global function with example usage: test_regression_std_vector_dtypes() without return types