mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-34536: Cleanup test_enum imports (GH-9979)
sys and threading were imported twice.
This commit is contained in:
parent
ded87d804e
commit
4acf6c9d4b
1 changed files with 0 additions and 5 deletions
|
@ -3,7 +3,6 @@ import inspect
|
|||
import pydoc
|
||||
import sys
|
||||
import unittest
|
||||
import sys
|
||||
import threading
|
||||
from collections import OrderedDict
|
||||
from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
|
||||
|
@ -12,10 +11,6 @@ from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL
|
|||
from test import support
|
||||
from datetime import timedelta
|
||||
|
||||
try:
|
||||
import threading
|
||||
except ImportError:
|
||||
threading = None
|
||||
|
||||
# for pickle tests
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue