code: def test_is_np_sub_dtype():
      assert dtype_utils.is_np_sub_dtype(np.int32, np.integer)
      assert dtype_utils.is_np_sub_dtype(np.int64, np.integer)
      assert dtype_utils.is_np_sub_dtype(float, np.floating)
      assert not dtype_utils.is_np_sub_dtype(np.int64, np.floating)
      assert not dtype_utils.is_np_sub_dtype(float, np.integer)
      assert dtype_utils.is_np_sub_dtype(np.uint8, np.integer)
  
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 3 for calling a global function with example usage: test_is_np_sub_dtype() without return types