code: def test_bad_import():
      # Invalid module
      with pytest.raises(ImportError):
          load.builder_cls_from_module("tensorflow_datasets_invalid")
  
      # Valid module, but bad dataset
      with pytest.raises(
          ValueError, match="Could not load DatasetBuilder"
      ):
          load.builder_cls_from_module("tensorflow_datasets")
  
imports: import pytest
  from tensorflow_datasets.core import load
  from tensorflow_datasets.core.community import load
label_desc: Use image node_id 2 for calling a global function with example usage: test_bad_import() without return types