code: def testAlwaysSupported(self):
      os.chdir(os.path.join(self.get_temp_dir()))
      self.assertTrue(self.resolver.is_supported("/tmp"))
      tf.compat.v1.gfile.MkDir("foo/")
      self.assertTrue(self.resolver.is_supported("./foo/"))
      self.assertTrue(self.resolver.is_supported("foo/"))
      # Directory doesn't exist.
      self.assertTrue(self.resolver.is_supported("bar/"))
      self.assertTrue(self.resolver.is_supported("foo/bar"))
      self.assertTrue(
          self.resolver.is_supported("nope://throw-OpError")
      )
  
imports: import os
  import re
  import socket
  import tempfile
  import threading
  import time
  import unittest
  from unittest import mock
  import uuid
  from absl import flags
  import tensorflow
  import tensorflow_hub
  from tensorflow_hub import compressed_module_resolver
  from tensorflow_hub import config
  from tensorflow_hub import registry
  from tensorflow_hub import resolver
  from tensorflow_hub import test_utils
  from tensorflow_hub import tf_utils
  from tensorflow_hub import uncompressed_module_resolver
label_desc: Use image node_id 2 for calling the PathResolverTest obj's underlying member method code with example usage: obj.testAlwaysSupported() without return types