summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_uuid.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-07-04 04:08:42 (GMT)
committerGitHub <noreply@github.com>2021-07-04 04:08:42 (GMT)
commit9bf7c2d638a582af2444bc864feba13ab8957b68 (patch)
treea273f9feb6019ad8ce8675fe7142dd1e74d14538 /Lib/test/test_uuid.py
parent000b9e803a7ec067da0a43f9a3fec16f1078215a (diff)
downloadcpython-9bf7c2d638a582af2444bc864feba13ab8957b68.zip
cpython-9bf7c2d638a582af2444bc864feba13ab8957b68.tar.gz
cpython-9bf7c2d638a582af2444bc864feba13ab8957b68.tar.bz2
[3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)
* [Enum] revert enum module to 3.9
Diffstat (limited to 'Lib/test/test_uuid.py')
-rwxr-xr-xLib/test/test_uuid.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py
index 3f56192..d6a8333 100755
--- a/Lib/test/test_uuid.py
+++ b/Lib/test/test_uuid.py
@@ -4,7 +4,6 @@ from test.support import import_helper
import builtins
import contextlib
import copy
-import enum
import io
import os
import pickle
@@ -32,13 +31,6 @@ def mock_get_command_stdout(data):
class BaseTestUUID:
uuid = None
- def test_safe_uuid_enum(self):
- class CheckedSafeUUID(enum.Enum):
- safe = 0
- unsafe = -1
- unknown = None
- enum._test_simple_enum(CheckedSafeUUID, py_uuid.SafeUUID)
-
def test_UUID(self):
equal = self.assertEqual
ascending = []