code: def test_cov_corr_invalid_dtypes(gsr):
      psr = gsr.to_pandas()
  
      assert_exceptions_equal(
          lfunc=psr.corr,
          rfunc=gsr.corr,
          lfunc_args_and_kwargs=([psr],),
          rfunc_args_and_kwargs=([gsr],),
      )
  
      assert_exceptions_equal(
          lfunc=psr.cov,
          rfunc=gsr.cov,
          lfunc_args_and_kwargs=([psr],),
          rfunc_args_and_kwargs=([gsr],),
      )
  
imports: from concurrent.futures import ThreadPoolExecutor
  import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.datasets import randomdata
  from cudf.testing._utils import _create_cudf_series_float64_default, _create_pandas_series_float64_default, assert_eq, assert_exceptions_equal, expect_warning_if
label_desc: Use image node_id 22 for calling a global function with example usage: test_cov_corr_invalid_dtypes(gsr) without return types