Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4acf6c9

Browse files
vstinnerethanfurman
authored andcommitted
bpo-34536: Cleanup test_enum imports (GH-9979)
sys and threading were imported twice.
1 parent ded87d8 commit 4acf6c9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Lib/test/test_enum.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pydoc
44
import sys
55
import unittest
6-
import sys
76
import threading
87
from collections import OrderedDict
98
from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
@@ -12,10 +11,6 @@
1211
from test import support
1312
from datetime import timedelta
1413

15-
try:
16-
import threading
17-
except ImportError:
18-
threading = None
1914

2015
# for pickle tests
2116
try:

0 commit comments

Comments
 (0)