This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch master in repository stem.
The following commit(s) were added to refs/heads/master by this push: new 4e3917c8 don't use deprecated int_from_byte to test cryptography 4e3917c8 is described below
commit 4e3917c8651e87e78e7e1ae9fcd9bb5367dee360 Author: orangepizza tjtncks@gmail.com AuthorDate: Sat Apr 23 15:39:14 2022 +0900
don't use deprecated int_from_byte to test cryptography --- test/require.py | 2 +- test/settings.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/require.py b/test/require.py index 9672a140..fb7df9fc 100644 --- a/test/require.py +++ b/test/require.py @@ -29,7 +29,7 @@ import test 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 diff --git a/test/settings.cfg b/test/settings.cfg index 33d9d529..c69996db 100644 --- a/test/settings.cfg +++ b/test/settings.cfg @@ -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
tor-commits@lists.torproject.org