import collections
import concurrent.futures
import heapq
-import inspect
import itertools
import logging
import os
import email.message
import http
import io
-import os
import re
import socket
import collections
'''
from idlelib import macosx
from test.support import requires
-import sys
import tkinter as tk
import unittest
import unittest.mock as mock
from idlelib import tree
from test.support import requires
requires('gui')
-import os
import unittest
from tkinter import Tk
A number of functions that enhance IDLE on Mac OSX.
"""
from sys import platform # Used in _init_tk_type, changed by test.
-import warnings
import tkinter
import linecache
import os
-import re
import sys
import tkinter as tk
__author__ = "Guido van Rossum <guido@python.org>"
import sys
-import warnings
from io import StringIO
HUGE = 0x7FFFFFFF # maximum repeat count, default max
# Author: Collin Winter
import os
-import unittest
from test.support import load_package_tests
import os
import sys
import types
-import struct
import warnings
with warnings.catch_warnings():
warnings.simplefilter('ignore', DeprecationWarning)
import socket
import selectors
import os
-import errno
import sys
try:
import threading
import sys
import os
import os.path
-import tempfile
import subprocess
import py_compile
-import contextlib
-import shutil
import zipfile
from importlib.util import source_from_cache
import inspect
-import sys
import types
import unittest
import os
import re
import sys
-import time
import types
import unittest
import weakref
import tempfile
import threading
import unittest
-import warnings
from unittest import mock
if sys.platform == 'win32':
import random
import shutil
import subprocess
-import sys
from test.support import unlink
import _compression
import cmd
import sys
-import re
import unittest
import io
from test import support
import test.support, unittest
import os
-import shutil
import sys
import subprocess
import tempfile
import configparser
import io
import os
-import sys
import textwrap
import unittest
import warnings
import os
import stat
import unittest
-import warnings
import dbm.dumb as dumbdbm
from test import support
from functools import partial
from test.support import (check_warnings, import_fresh_module, TestFailed,
run_with_locale, cpython_only)
import random
-import time
-import warnings
import inspect
try:
import threading
from test.support import captured_stdout
from test.bytecode_helper import BytecodeTestCase
-import difflib
import unittest
import sys
import dis
import datetime
import faulthandler
import os
-import re
import signal
import subprocess
import sys
-import gc
-import sys
import types
import unittest
import weakref
import unittest.mock as mock
import textwrap
import errno
-import shutil
import contextlib
import test.support
import abc
-import unittest
class FinderTests(metaclass=abc.ABCMeta):
-import contextlib
-import inspect
import io
import marshal
import os
from os.path import normcase
import _pickle
import pickle
-import re
import shutil
import sys
import types
def revise(filename, *args):
return (normcase(filename),) + args
-import builtins
-
git = mod.StupidGit()
class IsTestBase(unittest.TestCase):
import mmap
import os
import pickle
-import re
import shutil
import signal
import socket
import dis
-import re
-import sys
-import textwrap
import unittest
from test.bytecode_helper import BytecodeTestCase
"""Tests for the raise statement."""
from test import support
-import re
import sys
import types
import unittest
from test.support import verbose, run_unittest, gc_collect, bigmemtest, _2G, \
cpython_only, captured_stdout
-import io
import locale
import re
import sre_compile
import string
-import sys
-import traceback
import unittest
import warnings
from re import Scanner
import collections
import collections.abc
import itertools
-import string
class PassThru(Exception):
pass
SameFileError)
import tarfile
import zipfile
-import warnings
from test import support
from test.support import (TESTFN, check_warnings, captured_stdout,
import unittest
from test import support
from contextlib import closing
-import enum
-import gc
-import pickle
import select
import signal
import socket
import struct
import subprocess
-import traceback
import sys, os, time, errno
from test.support.script_helper import assert_python_ok, spawn_python
try:
import os
import errno
import pprint
-import tempfile
import urllib.request
import traceback
import asyncore
-import sys
import types
import unittest
"""Unit tests for zero-argument super() & related machinery."""
-import sys
import unittest
import warnings
from test.support import check_warnings
import unittest
import sys
import io
-import time
from textwrap import dedent
from test.support import captured_stdout
import unittest
-import sys
class PEP3131Test(unittest.TestCase):
# Ridiculously simple test of the winsound module for Windows.
import functools
-import os
-import subprocess
import time
import unittest
"""
import unittest
-import io
-import sys
import inspect
-import parser
from test.support import captured_stderr, disable_gc, gc_collect
import string
import sys
import time
-import collections
import tempfile
import contextlib
import warnings
"""
import io
import os
-import re
import importlib.util
import sys
import time