code: def test_bad_request():
      with IPCServer(lambda _: None) as server, SingleRequestHandler(
          server
      ):
          s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          s.connect(("localhost", server.port))
          s.send(b"foo")
          res = pickle.loads(s.recv(2048))
          assert isinstance(res, pickle.UnpicklingError)
  
imports: import contextlib
  import pickle
  import random
  import socket
  import sys
  import threading
  import time
  import psutil
  import pytest
  import retrying
  from fiftyone.service.ipc import IPCServer, send_request
  from fiftyone.service.util import find_processes_by_args, get_listening_tcp_ports, normalize_wrapper_process, send_ipc_message
label_desc: Use image node_id 6 for calling a global function with example usage: test_bad_request() without return types