code: def test_gfile_makedirs(fs, patchs, monkeypatch):
      _, path_to, _, write, _, join, _ = fs
      mock_patchs(monkeypatch, patchs)
  
      root_path = "test_gfile_makedirs/"
      dname = path_to(root_path)
      subdname = join(dname, "subdir_1")
      assert tf.io.gfile.exists(dname) is False
      assert tf.io.gfile.exists(subdname) is False
  
      tf.io.gfile.mkdir(subdname)
      write(join(subdname, "fname"), b"123456789")
      assert tf.io.gfile.isdir(subdname) is True
  
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 20 for calling a global function with example usage: test_gfile_makedirs(fs, patchs, monkeypatch) without return types