code: def test_array_astype_to_void(dt):
      dt = np.dtype(dt)
      arr = np.array([], dtype=dt)
      assert arr.astype("V").dtype.itemsize == dt.itemsize
  
imports: import sys
  import numpy
  from numpy.core._rational_tests import rational
  import pytest
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_raises, assert_warns, HAS_REFCOUNT
label_desc: Use image node_id 6 for calling a global function with example usage: test_array_astype_to_void(dt) without return types