code: def test_dtype(fn, dtype, result):
      assert fn(dtype) == result
  
imports: import numpy
  import pytest
  from tensorflow_datasets.core.utils import dtype_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: test_dtype(fn, dtype, result) without return types