bpo-34536: Cleanup test_enum imports (GH-9979)

sys and threading were imported twice.
This commit is contained in:
Victor Stinner 2018-10-20 01:57:19 +02:00 committed by Ethan Furman
parent ded87d804e
commit 4acf6c9d4b

View file

@ -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: