code: def test_gfile_glob(fs, patchs, monkeypatch):
      _, path_to, _, write, _, join, _ = fs
      mock_patchs(monkeypatch, patchs)
  
      dname = path_to("test_gfile_glob/")
  
      num_items = 3
      childs = [None] * 3
      for ext in ["txt", "md"]:
          for i in range(num_items):
              fname = join(dname, f"{i}.{ext}")
              if ext == "txt":
                  childs[i] = fname
              write(fname, b"123456789")
  
      txt_files = tf.io.gfile.glob(join(dname, "*.txt"))
      assert sorted(txt_files) == sorted(childs)
  
imports: import functools
  import os
  import posixpath
  import random
  import socket
  import sys
  import time
  from urllib.parse import urlparse
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 25 for calling a global function with example usage: test_gfile_glob(fs, patchs, monkeypatch) without return types