This test relied on hard tab characters, so failed after whitespace

normalization.  Now uses \t in strings instead of hard tabs.
This commit is contained in:
Tim Peters 2001-10-04 06:26:17 +00:00
parent 4fb1fe8bd2
commit c59fb2d230
1 changed files with 5 additions and 5 deletions

View File

@ -271,7 +271,7 @@ def test_header_splitter(self):
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Foobar-Spoink-Defrobnit: wasnipoop; giraffes="very-long-necked-animals";
spooge="yummy"; hippos="gargantuan"; marshmallows="gooey"
\tspooge="yummy"; hippos="gargantuan"; marshmallows="gooey"
''')
@ -801,15 +801,15 @@ def test_body_line_iterator(self):
eq(len(lines), 43)
eq(EMPTYSTRING.join(lines), """\
Send Ppp mailing list submissions to
ppp@zzz.org
\tppp@zzz.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.zzz.org/mailman/listinfo/ppp
\thttp://www.zzz.org/mailman/listinfo/ppp
or, via email, send a message with subject or body 'help' to
ppp-request@zzz.org
\tppp-request@zzz.org
You can reach the person managing the list at
ppp-admin@zzz.org
\tppp-admin@zzz.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ppp digest..."