code: def test_astype_with_aliases(alias, expect_dtype, data):
      pd_data = pd.Series(data)
      gd_data = cudf.Series.from_pandas(pd_data)
  
      assert_eq(pd_data.astype(expect_dtype), gd_data.astype(alias))
  
imports: import cupy
  import numpy
  import pandas
  import pyarrow
  import pytest
  import cudf
  from cudf._lib.transform import mask_to_bools
  from cudf.core.column.column import as_column
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
  from cudf.utils import dtypes
label_desc: Use image node_id 24 for calling a global function with example usage: test_astype_with_aliases(alias, expect_dtype, data) without return types