Skip to content
Snippets Groups Projects
  • Denis Laxalde's avatar
    4128ffba4431
    tests: handle Message-Id email header possible wrapping · 4128ffba4431
    Denis Laxalde authored
    The "Message-Id" header will get wrapped with a new line when exceeding
    75 characters on Python 3 (see changeset 7d4f2e4899c5 introducing usage
    of email.header.Header.encode and respective doc). This will occur in an
    unpredictable manner depending on the hostname's length. To make the
    test output consistent across Python versions and hostname
    configuration, we add a filter to unwrap this header value.
    4128ffba4431
    History
    tests: handle Message-Id email header possible wrapping
    Denis Laxalde authored
    The "Message-Id" header will get wrapped with a new line when exceeding
    75 characters on Python 3 (see changeset 7d4f2e4899c5 introducing usage
    of email.header.Header.encode and respective doc). This will occur in an
    unpredictable manner depending on the hostname's length. To make the
    test output consistent across Python versions and hostname
    configuration, we add a filter to unwrap this header value.