faf2dd1f6a
keys.KeyClass._emit is able to use 'file' parameter not as a file but some object (not only sys.stdout but io.StringIO, like by tests). Fixed all explicit checks for sys.stdio usage in favor of io.TextIOBase, also improve a single unit test to cover also all the changed methods. Signed-off-by: Denis Mingulov <denis@mingulov.com> |
||
---|---|---|
.. | ||
__init__.py | ||
ecdsa.py | ||
ecdsa_test.py | ||
ed25519.py | ||
ed25519_test.py | ||
general.py | ||
privatebytes.py | ||
rsa.py | ||
rsa_test.py | ||
x25519.py |