diff options
author | Michael Manganiello <adamantike@users.noreply.github.com> | 2016-05-08 08:19:07 -0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-05-08 13:19:07 +0200 |
commit | 1369d748e9b557ed769c9456dc43ab3c0530663f (patch) | |
tree | 73687fb7dc65c7479353a353e619e603f44f1499 /tests | |
parent | 7e5854dc6f4c748ffcbff0066dbfef0a8bdbfbf6 (diff) | |
download | rsa-git-1369d748e9b557ed769c9456dc43ab3c0530663f.tar.gz |
xrange compatibility optimization for Python 2 (#69)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_compat.py | 2 | ||||
-rw-r--r-- | tests/test_prime.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_compat.py b/tests/test_compat.py index 74d6f53..2a58df5 100644 --- a/tests/test_compat.py +++ b/tests/test_compat.py @@ -18,7 +18,7 @@ import unittest import struct import sys -from rsa._compat import is_bytes, byte, b +from rsa._compat import b, byte, is_bytes, range class TestByte(unittest.TestCase): diff --git a/tests/test_prime.py b/tests/test_prime.py index 75b80b3..f3bda9b 100644 --- a/tests/test_prime.py +++ b/tests/test_prime.py @@ -18,6 +18,7 @@ import unittest +from rsa._compat import range import rsa.prime import rsa.randnum |