summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_rotor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_rotor.py b/Lib/test/test_rotor.py
index 475ac16..338ea9d 100644
--- a/Lib/test/test_rotor.py
+++ b/Lib/test/test_rotor.py
@@ -21,5 +21,8 @@ print B1
if B1 <> B:
print 'decryptmore failed'
-r.setkey()
+try:
+ r.setkey()
+except TypeError:
+ pass
r.setkey('you guessed it!')