code: def test_descr_to_dtype(dt):
      dt1 = format.descr_to_dtype(dt.descr)
      assert_equal_(dt1, dt)
      arr1 = np.zeros(3, dt)
      arr2 = roundtrip(arr1)
      assert_array_equal(arr1, arr2)
  
imports: import sys
  import os
  import warnings
  import pytest
  from io import BytesIO
  import numpy
  from numpy.testing import assert_, assert_array_equal, assert_raises, assert_raises_regex, assert_warns, IS_PYPY, IS_WASM
  from numpy.testing._private.utils import requires_memory
  from numpy.lib import format
  import yatest.common
label_desc: Use image node_id 15 for calling a global function with example usage: test_descr_to_dtype(dt) without return types