aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cryptography_utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2022-10-26 01:44:03 -0400
committerGitHub <noreply@github.com>2022-10-26 14:44:03 +0900
commit50fb4471737522f54f92fe53d23db25972d6ac29 (patch)
tree358d9bc1e4a0b3a34cb2cf9b852e1917c2fe3748 /tests/test_cryptography_utils.py
parentda971616fcae7d5962d3fac236a5e7a7675db57b (diff)
downloadpyca-cryptography-50fb4471737522f54f92fe53d23db25972d6ac29.zip
pyca-cryptography-50fb4471737522f54f92fe53d23db25972d6ac29.tar.gz
pyca-cryptography-50fb4471737522f54f92fe53d23db25972d6ac29.tar.bz2
Update CI for py3.11 release (#7743)
* Update CI for py3.11 release * Don't use a name that's an existing enum method
Diffstat (limited to 'tests/test_cryptography_utils.py')
-rw-r--r--tests/test_cryptography_utils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_cryptography_utils.py b/tests/test_cryptography_utils.py
index 065da7b..98fd616 100644
--- a/tests/test_cryptography_utils.py
+++ b/tests/test_cryptography_utils.py
@@ -56,9 +56,9 @@ class TestCachedProperty:
def test_enum():
class TestEnum(utils.Enum):
- value = "something"
+ something = "something"
assert issubclass(TestEnum, enum.Enum)
- assert isinstance(TestEnum.value, enum.Enum)
- assert repr(TestEnum.value) == "<TestEnum.value: 'something'>"
- assert str(TestEnum.value) == "TestEnum.value"
+ assert isinstance(TestEnum.something, enum.Enum)
+ assert repr(TestEnum.something) == "<TestEnum.something: 'something'>"
+ assert str(TestEnum.something) == "TestEnum.something"