changeset 25:dbc0c73735d6

Slight tweak to test code.
author Brian Neal <bgneal@gmail.com>
date Mon, 28 May 2012 20:43:31 -0500
parents 9e499e386fac
children abd21cfb67f4
files enigma/tests/test_enigma.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/enigma/tests/test_enigma.py	Mon May 28 19:36:08 2012 -0500
+++ b/enigma/tests/test_enigma.py	Mon May 28 20:43:31 2012 -0500
@@ -168,8 +168,7 @@
         # groups of the message -- it appears the last partial group 'VA' should
         # be removed also)
 
-        ciphertext = ciphertext[8:]
-        ciphertext = ciphertext[:-10]
+        ciphertext = ciphertext[8:-10]
 
         machine.set_display('VJNA')
         plaintext = machine.process_text(ciphertext)