From: Barry Warsaw Date: Thu, 2 Jan 1997 20:02:44 +0000 (+0000) Subject: .setkey() now requires exactly one argument X-Git-Tag: v1.5a1~620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0;p=python .setkey() now requires exactly one argument --- diff --git a/Lib/test/test_rotor.py b/Lib/test/test_rotor.py index 475ac16cd8..338ea9d0da 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!')