docstr: Fakes import for a given module.
code: def fake_import(self, affected_name, success=True):
      """Fakes import for a given module."""
  
      def fake(name, *args, **kwargs):
          if name == affected_name:
              if success:
                  return
              else:
                  raise ImportError("Pretending I'm missing ;)")
          return _ORIGINAL_IMPORT(name, *args, **kwargs)
  
      return fake
  
imports: import ntpath
  import os
  import posixpath
  import time
  from unittest import mock
  from tensorboard import test
  from tensorboard.backend.event_processing import data_ingester
  from tensorboard.compat import tf
label_desc: Use image node_id 2 for calling the FileSystemSupportTest obj's underlying member method code with example usage: obj.fake_import(affected_name, success) and returns: fake, _ORIGINAL_IMPORT