summaryrefslogtreecommitdiff
path: root/lib/Crypto/SelfTest/PublicKey/test_RSA.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Crypto/SelfTest/PublicKey/test_RSA.py')
-rw-r--r--lib/Crypto/SelfTest/PublicKey/test_RSA.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Crypto/SelfTest/PublicKey/test_RSA.py b/lib/Crypto/SelfTest/PublicKey/test_RSA.py
index 2884317..b66fb4c 100644
--- a/lib/Crypto/SelfTest/PublicKey/test_RSA.py
+++ b/lib/Crypto/SelfTest/PublicKey/test_RSA.py
@@ -456,7 +456,8 @@ class RSASlowMathTest(RSATest):
def get_tests(config={}):
tests = []
- tests += list_test_cases(RSATest)
+ if config.get('slow_tests', 1):
+ tests += list_test_cases(RSATest)
try:
from Crypto.PublicKey import _fastmath
tests += list_test_cases(RSAFastMathTest)