summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-14 19:55:00 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-14 19:55:00 (GMT)
commitc4c26414c51a61be544bcd05ecca54a8f1c01054 (patch)
tree5679613babd65c5ae9dcefb42485a1e94c3620a5
parent9faabb8d2304c618441d8df77cf9ff0b483e4612 (diff)
downloadcpython-c4c26414c51a61be544bcd05ecca54a8f1c01054.zip
cpython-c4c26414c51a61be544bcd05ecca54a8f1c01054.tar.gz
cpython-c4c26414c51a61be544bcd05ecca54a8f1c01054.tar.bz2
Print `a` so encrypted text is shown in ascii, not binary.
-rw-r--r--Lib/test/output/test_rotor2
-rw-r--r--Lib/test/test_rotor.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/output/test_rotor b/Lib/test/output/test_rotor
index e2a61b2..7a84e23 100644
--- a/Lib/test/output/test_rotor
+++ b/Lib/test/output/test_rotor
@@ -1,5 +1,5 @@
test_rotor
-qIT
+'\265q\220\243\350IT\321\007\332\035\334\337'
>k(,˟
spam and eggs
cheese shop
diff --git a/Lib/test/test_rotor.py b/Lib/test/test_rotor.py
index 338ea9d..99724bc 100644
--- a/Lib/test/test_rotor.py
+++ b/Lib/test/test_rotor.py
@@ -7,7 +7,7 @@ A = 'spam and eggs'
B = 'cheese shop'
a = r.encrypt(A)
-print a
+print `a`
b = r.encryptmore(B)
print b