diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2022-10-26 01:44:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 14:44:03 +0900 |
commit | 50fb4471737522f54f92fe53d23db25972d6ac29 (patch) | |
tree | 358d9bc1e4a0b3a34cb2cf9b852e1917c2fe3748 /tests/test_cryptography_utils.py | |
parent | da971616fcae7d5962d3fac236a5e7a7675db57b (diff) | |
download | pyca-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.py | 8 |
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" |