Andrew M. Kuchling
9f4eb6b719
[Patch #679505 ] Silence DeprecationWarning when testing rotor module
2003-04-24 13:18:25 +00:00
Fred Drake
132dce2246
Update the code to better reflect recommended style:
...
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Guido van Rossum
ce32096661
Oops. Of course, print b should also be print `b`. :-(
1997-08-18 13:42:28 +00:00
Guido van Rossum
c4c26414c5
Print `a` so encrypted text is shown in ascii, not binary.
1997-08-14 19:55:00 +00:00
Barry Warsaw
5afafad82d
<rotorobj>.setkey() now requires exactly one argument
1997-01-02 20:02:44 +00:00
Barry Warsaw
5e056bbb76
test_rotor.py: New test of the rotor module.
...
test_*: converted to the new test harness. GvR note! test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness. It must be a timing issue, but I haven't figured it out
yet.
1996-12-23 23:39:42 +00:00