Skip to content

Commit

Permalink
don't use deprecated int_from_byte to test cryptography
Browse files Browse the repository at this point in the history
  • Loading branch information
orangepizza committed Apr 23, 2022
1 parent 5e48199 commit 4e3917c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion test/require.py
Expand Up @@ -29,7 +29,7 @@
import test.runner

try:
from cryptography.utils import int_from_bytes, int_to_bytes
from cryptography.utils import int_to_bytes
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.backends.openssl.backend import backend
from cryptography.hazmat.primitives.asymmetric import rsa
Expand Down
1 change: 0 additions & 1 deletion test/settings.cfg
Expand Up @@ -207,7 +207,6 @@ pyflakes.ignore stem/socket.py => redefinition of unused '_recv'*
pyflakes.ignore stem/util/__init__.py => undefined name 'cryptography'
pyflakes.ignore stem/util/conf.py => undefined name 'stem'
pyflakes.ignore stem/util/enum.py => undefined name 'stem'
pyflakes.ignore test/require.py => 'cryptography.utils.int_from_bytes' imported but unused
pyflakes.ignore test/require.py => 'cryptography.utils.int_to_bytes' imported but unused
pyflakes.ignore test/require.py => 'cryptography.hazmat.backends.default_backend' imported but unused
pyflakes.ignore test/require.py => 'cryptography.hazmat.primitives.ciphers.algorithms' imported but unused
Expand Down

0 comments on commit 4e3917c

Please sign in to comment.