code: def test_register_dtype():
      from pybind11_tests import register_dtype
  
      with pytest.raises(RuntimeError) as excinfo:
          register_dtype()
      assert "dtype is already registered" in str(excinfo.value)
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/deps/pybind11/tests/test_numpy_dtypes.py
imports: import re
  import pytest
label_desc: Use image node_id 18 for calling a global function with example usage: test_register_dtype() without return types