code: def test_register_dtype():
      with pytest.raises(RuntimeError) as excinfo:
          m.register_dtype()
      assert "dtype is already registered" in str(excinfo.value)
  
imports: import re
  import pytest
  import env
  from pybind11_tests import numpy_dtypes
label_desc: Use image node_id 22 for calling a global function with example usage: test_register_dtype() without return types