tests/run-tests.py
branchstable
changeset 1085 a2e7456b162e
parent 1084 b668ecd81629
child 1086 a2e8ccb65224
--- a/tests/run-tests.py	Sun Jun 03 19:35:23 2012 +0200
+++ b/tests/run-tests.py	Wed May 30 14:28:57 2012 +0200
@@ -617,7 +617,7 @@
                 script.append('%s -m heredoctest <<EOF\n' % PYTHON)
             addsalt(n, True)
             script.append(l[2:])
-        if l.startswith('  ... '): # python inlines
+        elif l.startswith('  ... '): # python inlines
             after.setdefault(prepos, []).append(l)
             script.append(l[2:])
         elif l.startswith('  $ '): # commands