Kaydet (Commit) 4acf6c9d authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) Ethan Furman

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

sys and threading were imported twice.
üst ded87d80
...@@ -3,7 +3,6 @@ import inspect ...@@ -3,7 +3,6 @@ import inspect
import pydoc import pydoc
import sys import sys
import unittest import unittest
import sys
import threading import threading
from collections import OrderedDict from collections import OrderedDict
from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
...@@ -12,10 +11,6 @@ from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL ...@@ -12,10 +11,6 @@ from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL
from test import support from test import support
from datetime import timedelta from datetime import timedelta
try:
import threading
except ImportError:
threading = None
# for pickle tests # for pickle tests
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment