commit | 5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Jan 02 20:02:44 1997 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Jan 02 20:02:44 1997 +0000 |
tree | 57ccde07e5f3ff0abe9ba2e23495055a94114fb7 | |
parent | 9121ab94332ec38ac24f88b468b6ca54b1845cd8 [diff] [blame] |
<rotorobj>.setkey() now requires exactly one argument
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 @@ if B1 <> B: print 'decryptmore failed' -r.setkey() +try: + r.setkey() +except TypeError: + pass r.setkey('you guessed it!')