comparison tests/test-diff-ignore-whitespace.t @ 36045:04984f2e50ae

py3: use email parser that operates on bytes email.parser.Parser() operates on str in both Python 2 and 3. Python 3.2 introduced the email.parser.BytesParser(), which works like Parser except it accepts bytes. We implement the pycompat helper as a function so we lazily import the "email" module. Differential Revision: https://phab.mercurial-scm.org/D2147
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 14:17:23 -0800
parents da07367d683b
children 55c6ebd11cb9
comparison
equal deleted inserted replaced
36044:3b4d14beac3d 36045:04984f2e50ae