diff options
author | Barry Warsaw <barry@python.org> | 1997-01-02 20:02:44 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-01-02 20:02:44 (GMT) |
commit | 5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0 (patch) | |
tree | 57ccde07e5f3ff0abe9ba2e23495055a94114fb7 /Lib/test/test_rotor.py | |
parent | 9121ab94332ec38ac24f88b468b6ca54b1845cd8 (diff) | |
download | cpython-5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0.zip cpython-5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0.tar.gz cpython-5afafad82d3e42be49d9e6a1eb95f2f3ed58fab0.tar.bz2 |
<rotorobj>.setkey() now requires exactly one argument
Diffstat (limited to 'Lib/test/test_rotor.py')
-rw-r--r-- | Lib/test/test_rotor.py | 5 |
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!') |