aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cryptography_utils.py
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Update CI for py3.11 release (#7743)Alex Gaynor1-4/+4
* Update CI for py3.11 release * Don't use a name that's an existing enum method
2022-01-30Remove explicit subclassing of object now that all classes are new-style (#6830)Alex Gaynor1-3/+3
As someone who first with Python in 2.4 or so, this habit is going to be hard to break.
2021-05-12Use well-defined enum representation (#6042)Christian Heimes1-0/+11
Python 3.10 changed enum's object and string representation. PyCA cryptography now uses a custom subclass of enum.Enum() will well-defined __repr__ and __str__ from Python 3.9. Related: https://bugs.python.org/issue40066 Fixes: https://github.com/pyca/cryptography/issues/5995 Signed-off-by: Christian Heimes <cheimes@redhat.com>
2021-01-31enable mypy over tests (#5721)Paul Kehrer1-4/+4
* clean mypy with tests dir * remove most no_type_check annotations * le sigh * remove unneeded comments
2020-12-09Remove utils.int_from_bytes (#5609)Alex Gaynor1-6/+0
2020-12-09Remove __future__ import from our code (#5610)Alex Gaynor1-1/+0
2020-07-28Remove unused code (#5360)Alex Gaynor1-5/+0
2018-01-10 Fixes #4076 - simplify the implementation of int_from_bytes on python2 (#4077)Alex Gaynor1-0/+2
* Fixes #4076 - simplify the implementation of int_from_bytes on python2 * whitespace * Added a test
2017-10-12Inline calls to bit_length now that it's trivial (#3966)Alex Gaynor1-0/+5
* Inline calls to bit_length now that it's trivial * unused imports * An comment
2017-07-08Fixed #3747 -- cache extensions on x.509 objects (#3769)Alex Gaynor1-0/+47
* Fixed #3747 -- cache extensions on x.509 objects * be kind to cpython, save a dict lookup * flake8 * changelog
2016-12-13fix a regression in int_from_bytes (#3316)Paul Kehrer1-0/+11
* fix a regression in int_from_bytes * add a new test file