Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 0d744bb

Browse files
committed
fixed name collision
1 parent 7e5cafd commit 0d744bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/crypt/test__cryptography_rsa.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
from google.auth.crypt import base
2525

2626
try:
27-
import rsa
27+
import rsa as old_rsa_lib
2828
except ImportError:
29-
rsa = None
29+
old_rsa_lib = None
3030

3131
DATA_DIR = os.path.join(os.path.dirname(__file__), "..", "data")
3232

@@ -187,7 +187,7 @@ class TestRSATransparency(object):
187187
"""
188188
@classmethod
189189
def setup_class(cls):
190-
(cls.pub_key_rsa, cls.priv_key_rsa) = rsa.newkeys(512)
190+
(cls.pub_key_rsa, cls.priv_key_rsa) = old_rsa_lib.newkeys(2048)
191191
cls.message = b"test message"
192192

193193
@pytest.mark.filterwarnings("ignore::DeprecationWarning")

0 commit comments

Comments
 (0)