From c4c26414c51a61be544bcd05ecca54a8f1c01054 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 14 Aug 1997 19:55:00 +0000 Subject: [PATCH] Print `a` so encrypted text is shown in ascii, not binary. --- Lib/test/output/test_rotor | 2 +- Lib/test/test_rotor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/output/test_rotor b/Lib/test/output/test_rotor index e2a61b2f402..7a84e238f8f 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 338ea9d0dae..99724bccefa 100644 --- a/Lib/test/test_rotor.py +++ b/Lib/test/test_rotor.py @@ -7,7 +7,7 @@ B = 'cheese shop' a = r.encrypt(A) -print a +print `a` b = r.encryptmore(B) print b