From: Guido van Rossum Date: Thu, 14 Aug 1997 19:55:00 +0000 (+0000) Subject: Print `a` so encrypted text is shown in ascii, not binary. X-Git-Tag: v1.5a3~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4c26414c51a61be544bcd05ecca54a8f1c01054;p=thirdparty%2FPython%2Fcpython.git Print `a` so encrypted text is shown in ascii, not binary. --- diff --git a/Lib/test/output/test_rotor b/Lib/test/output/test_rotor index e2a61b2f4021..7a84e238f8f7 100644 --- a/Lib/test/output/test_rotor +++ b/Lib/test/output/test_rotor @@ -1,5 +1,5 @@ test_rotor -µq£èITÑÚÜß +'\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 338ea9d0dae4..99724bccefae 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