summaryrefslogtreecommitdiff
path: root/tests/test_cryptography_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Update CI for py3.11 release (#7743)Alex Gaynor2022-10-261-4/+4
| | | | | * Update CI for py3.11 release * Don't use a name that's an existing enum method
* Remove explicit subclassing of object now that all classes are new-style (#6830)Alex Gaynor2022-01-301-3/+3
| | | As someone who first with Python in 2.4 or so, this habit is going to be hard to break.
* Use well-defined enum representation (#6042)Christian Heimes2021-05-121-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>
* enable mypy over tests (#5721)Paul Kehrer2021-01-311-4/+4
| | | | | | | | | * clean mypy with tests dir * remove most no_type_check annotations * le sigh * remove unneeded comments
* Remove utils.int_from_bytes (#5609)Alex Gaynor2020-12-091-6/+0
|
* Remove __future__ import from our code (#5610)Alex Gaynor2020-12-091-1/+0
|
* Remove unused code (#5360)Alex Gaynor2020-07-281-5/+0
|
* Fixes #4076 - simplify the implementation of int_from_bytes on python2 (#4077)Alex Gaynor2018-01-101-0/+2
| | | | | | | | * Fixes #4076 - simplify the implementation of int_from_bytes on python2 * whitespace * Added a test
* Inline calls to bit_length now that it's trivial (#3966)Alex Gaynor2017-10-121-0/+5
| | | | | | | | * Inline calls to bit_length now that it's trivial * unused imports * An comment
* Fixed #3747 -- cache extensions on x.509 objects (#3769)Alex Gaynor2017-07-081-0/+47
| | | | | | | | | | * Fixed #3747 -- cache extensions on x.509 objects * be kind to cpython, save a dict lookup * flake8 * changelog
* fix a regression in int_from_bytes (#3316)Paul Kehrer2016-12-131-0/+11
* fix a regression in int_from_bytes * add a new test file