| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | from .findtests import findtests, split_test_packages, list_cases | |
| 16 | 16 | from .logger import Logger | |
| 17 | 17 | from .pgo import setup_pgo_tests | |
| 18 | - from .result import State, TestResult | ||
| 18 | + from .result import TestResult | ||
| 19 | 19 | from .results import TestResults, EXITCODE_INTERRUPTED | |
| 20 | 20 | from .runtests import RunTests, HuntRefleak | |
| 21 | 21 | from .setup import setup_process, setup_test_dir | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,6 @@ | |||
| 1 | 1 | """Run a test case multiple times in parallel threads.""" | |
| 2 | 2 | ||
| 3 | 3 | import copy | |
| 4 | - import functools | ||
| 5 | 4 | import threading | |
| 6 | 5 | import unittest | |
| 7 | 6 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,6 @@ | |||
| 7 | 7 | import random | |
| 8 | 8 | import re | |
| 9 | 9 | import shlex | |
| 10 | - import signal | ||
| 11 | 10 | import subprocess | |
| 12 | 11 | import sys | |
| 13 | 12 | import sysconfig | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,6 @@ | |||
| 6 | 6 | import sys | |
| 7 | 7 | import sysconfig | |
| 8 | 8 | import tempfile | |
| 9 | - import unittest | ||
| 10 | 9 | import venv | |
| 11 | 10 | ||
| 12 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,6 @@ | |||
| 22 | 22 | import unittest | |
| 23 | 23 | from unittest import mock | |
| 24 | 24 | import weakref | |
| 25 | - import warnings | ||
| 26 | 25 | if sys.platform not in ('win32', 'vxworks'): | |
| 27 | 26 | import tty | |
| 28 | 27 | ||
@@ -36,7 +35,6 @@ | |||
| 36 | 35 | from test.support import socket_helper | |
| 37 | 36 | from test.support import threading_helper | |
| 38 | 37 | from test.support import ALWAYS_EQ, LARGEST, SMALLEST | |
| 39 | - from test.support import warnings_helper | ||
| 40 | 38 | ||
| 41 | 39 | def tearDownModule(): | |
| 42 | 40 | asyncio._set_event_loop_policy(None) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,23 +1,20 @@ | |||
| 1 | 1 | """Tests for streams.py.""" | |
| 2 | 2 | ||
| 3 | 3 | import gc | |
| 4 | - import os | ||
| 5 | 4 | import queue | |
| 6 | 5 | import pickle | |
| 7 | 6 | import socket | |
| 8 | - import sys | ||
| 9 | 7 | import threading | |
| 10 | 8 | import unittest | |
| 11 | 9 | from unittest import mock | |
| 12 | - import warnings | ||
| 13 | 10 | try: | |
| 14 | 11 | import ssl | |
| 15 | 12 | except ImportError: | |
| 16 | 13 | ssl = None | |
| 17 | 14 | ||
| 18 | 15 | import asyncio | |
| 19 | 16 | from test.test_asyncio import utils as test_utils | |
| 20 | - from test.support import requires_subprocess, socket_helper | ||
| 17 | + from test.support import socket_helper | ||
| 21 | 18 | ||
| 22 | 19 | ||
| 23 | 20 | def tearDownModule(): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,11 +10,9 @@ | |||
| 10 | 10 | import socket | |
| 11 | 11 | import stat | |
| 12 | 12 | import sys | |
| 13 | - import threading | ||
| 14 | 13 | import time | |
| 15 | 14 | import unittest | |
| 16 | 15 | from unittest import mock | |
| 17 | - import warnings | ||
| 18 | 16 | ||
| 19 | 17 | from test import support | |
| 20 | 18 | from test.support import os_helper | |
@@ -27,7 +25,6 @@ | |||
| 27 | 25 | ||
| 28 | 26 | ||
| 29 | 27 | import asyncio | |
| 30 | - from asyncio import log | ||
| 31 | 28 | from asyncio import unix_events | |
| 32 | 29 | from test.test_asyncio import utils as test_utils | |
| 33 | 30 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,6 @@ | |||
| 14 | 14 | import threading | |
| 15 | 15 | import unittest | |
| 16 | 16 | import weakref | |
| 17 | - import warnings | ||
| 18 | 17 | from ast import literal_eval | |
| 19 | 18 | from unittest import mock | |
| 20 | 19 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,6 @@ | |||
| 16 | 16 | import random | |
| 17 | 17 | import re | |
| 18 | 18 | import sys | |
| 19 | - import textwrap | ||
| 20 | 19 | import traceback | |
| 21 | 20 | import types | |
| 22 | 21 | import typing | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,6 @@ | |||
| 11 | 11 | import copy | |
| 12 | 12 | import functools | |
| 13 | 13 | import pickle | |
| 14 | - import sysconfig | ||
| 15 | 14 | import tempfile | |
| 16 | 15 | import textwrap | |
| 17 | 16 | import threading | |
| Back | FazBrowse Home | New Git URL |
0 commit comments