class_docstr: These tests don't spawn children or hang.
code: def _make_mock_fork(self, pid):
      def mock_fork():
          return (pid, 12)
  
      return mock_fork
  
imports: from test.support import verbose, reap_children
  from test.support.import_helper import import_module
  import errno
  import os
  import pty
  import tty
  import sys
  import select
  import signal
  import socket
  import io
  import unittest
  import warnings
label_desc: Use image node_id 6 for calling the SmallPtyTests obj's underlying member method code with example usage: obj._make_mock_fork(pid) and returns: mock_fork, pid,  int