From 5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 2 Jan 1997 20:02:44 +0000 Subject: .setkey() now requires exactly one argument --- Lib/test/test_rotor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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!') -- cgit v0.12