diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-20 01:57:19 +0200 |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2018-10-19 16:57:19 -0700 |
commit | 4acf6c9d4be77b968fa498569d7a1545e5e77344 (patch) | |
tree | 9cdd8cb728c3ba565a334d7b3cb979b63296bd2b /Lib/test/test_enum.py | |
parent | ded87d804e2a85b2a3ea9e7a11384b41fafdfa29 (diff) | |
download | cpython-git-4acf6c9d4be77b968fa498569d7a1545e5e77344.tar.gz |
bpo-34536: Cleanup test_enum imports (GH-9979)
sys and threading were imported twice.
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r-- | Lib/test/test_enum.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 216f7d5c28..572e8733f4 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -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: |