MANIFEST.in
author Adrian Buehlmann <adrian@cadifra.com>
Wed, 30 May 2012 14:28:57 +0200
branchstable
changeset 1085 a2e7456b162e
parent 238 e4a389eca1b9
permissions -rw-r--r--
run-tests: don't add python lines to expected dict For test input lines of *.t files starting with ' >>> ', the code block for ' >>> ' 609: if l.startswith(' >>> '): # python inlines 610: after.setdefault(pos, []).append(l) was (unsurprisingly) executed, but because there was an "if" instead of an "elif" on the condition "l.startswith(' ... ')", program execution proceeded to line 636 635: elif l.startswith(' '): # results 636: # queue up a list of expected results 637: expected.setdefault(pos, []).append(l[2:]) due to the fact that if l starts with ' >>> ' it also starts with ' '. The net effect was that python command lines in *.t files were (surprisingly) also added to the "expected" dict. This caused no externally observable bad behavior, as the "expected" dict was not consulted for these lines. [ original upstream message ]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
191
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     1
# $Id$
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     2
4c3775e904b6 Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net>
parents:
diff changeset
     3
include tests/test-keyword tests/test-keyword.out
220
943e1e1ea042 Include MANIFEST.in in dist; hgignore MANIFEST
Christian Ebert <blacktrash@gmx.net>
parents: 191
diff changeset
     4
943e1e1ea042 Include MANIFEST.in in dist; hgignore MANIFEST
Christian Ebert <blacktrash@gmx.net>
parents: 191
diff changeset
     5
include MANIFEST.in