import re
import socket
-from test.support import verbose, run_with_tz, run_with_locale, cpython_only, requires_resource
+from test.support import verbose, run_with_tz, run_with_locale, cpython_only
from test.support import hashlib_helper
from test.support import threading_helper
import unittest
from test.support.import_helper import DirsOnSysPath, ready_to_import
from test.support.os_helper import TESTFN, temp_cwd
from test.support.script_helper import assert_python_ok, assert_python_failure, kill_python
-from test.support import has_subprocess_support, SuppressCrashReport
+from test.support import has_subprocess_support
from test import support
from test.test_inspect import inspect_fodder as mod
import sys
-import time
import unittest
from unittest import mock
import os
import pickle
-import sys
-from textwrap import dedent, indent
+from textwrap import dedent
import threading
import types
import unittest
import threading
from textwrap import dedent
import unittest
-import time
from test.support import import_helper, Py_DEBUG
# Raise SkipTest if subinterpreters not supported.
from collections import namedtuple
import contextlib
import json
-import io
import os
import os.path
-import pickle
-import queue
#import select
import subprocess
import sys
import tempfile
-from textwrap import dedent, indent
+from textwrap import dedent
import threading
import types
import unittest
import os
import sys
import time
-import stat
import socket
import email
import email.message
import textwrap
import types
import unittest
-import asyncio
import test.support
from test.support import requires_specialization, script_helper
import dis
from itertools import combinations, product
-import opcode
import sys
import textwrap
import unittest
import sysconfig
import os
import pathlib
-import shutil
from test import support
from test.support.script_helper import (
make_script,