code: def test_server_returns_unexpected_error(self):
      http_error = urllib.error.HTTPError(None, 404, None, None, None)
      with mock.patch.object(
          resolver.HttpResolverBase,
          "_call_urlopen",
          side_effect=http_error,
      ):
          with self.assertRaisesWithLiteralMatch(
              ValueError,
              "Expected 303 See other HTTP response but received code 404",
          ):
              self.uncompressed_resolver(
                  "https://tfhub.dev/google/model/1"
              )
  
file_path: hub/tensorflow_hub/uncompressed_module_resolver_test.py
imports: import io
  from unittest import mock
  import urllib
  import tensorflow
  from tensorflow_hub import resolver
  from tensorflow_hub import test_utils
  from tensorflow_hub import uncompressed_module_resolver
label_desc: Use image node_id 9 for calling the UncompressedModuleResolverTest obj's underlying member method code with example usage: obj.test_server_returns_unexpected_error() without return types