summaryrefslogtreecommitdiff
path: root/tests/test_common.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix #133: Remove rsa/_compat.pySybren A. Stüvel2022-03-131-11/+0
| | | | | There were very few functions in there, and none of them were actually used by the RSA library (just by the test code).
* Reformatting with BlackSybren A. Stüvel2021-03-291-9/+9
| | | | No functional changes.
* Drop character encoding markers for Python 2.xAndrey Semakin2020-06-031-2/+0
|
* Drop byte_literal in favour of b''adamantike2016-05-081-3/+3
|
* No longer require string operations to find bit lengths.Sybren A. Stüvel2016-03-291-7/+16
| | | | | Now that we no longer support Python 2.6, we can use int.bit_length() instead. Co-authored by @adamantike.
* Added unittest for rsa.common.inverseSybren A. Stüvel2016-03-291-1/+11
| | | | | This unittest tests both execution branches of the function, reducing randomness of code coverage.
* Updated documentation, mostly http -> https changesSybren A. Stüvel2016-02-051-1/+1
| | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length
* Big refactor to become more PEP8 compliant.Sybren A. Stüvel2016-01-221-3/+5
| | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis.
* Removed dependency on unittest2, also merged requirements.txt for py 2.x and 3.xSybren A. Stüvel2016-01-211-4/+4
|
* Added per-file licensesRoy Kokkelkoren2015-10-251-0/+14
|
* Reorganizes tests.Yesudeep Mangalapilly2011-08-171-4/+3
|
* Fixes a silly error.Yesudeep Mangalapilly2011-08-171-2/+11
|
* Adds common includes and tests.Yesudeep Mangalapilly2011-08-161-0/+3
|
* Parellelized testing. Caught a lot of bugs.Yesudeep Mangalapilly2011-08-161-0/+50