From 1369d748e9b557ed769c9456dc43ab3c0530663f Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Sun, 8 May 2016 08:19:07 -0300 Subject: xrange compatibility optimization for Python 2 (#69) --- tests/test_compat.py | 2 +- tests/test_prime.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.1