cubicweb-vcreview #2465601 fix encoding error in test [done]

forges@crater1:~/confs/forges_conf/cubes/vcreview/test$ pytest unittest_hooks.py imported_
======================== unittest_hooks.py =========================
F
======================================================================
FAIL: test_imported_patches (unittest_hooks.PatchCreationHooksTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/auc/confs/forges_conf/logilab/common/testlib.py", line 644, in _proceed
testfunc(*args, **kwargs)
File "/home/auc/confs/forges_conf/cubes/vcreview/test/unittest_hooks.py", line 156, in test_imported_patches
url: http://testing.fr/cubicweb/patch/%s\n''' % patch3_2.eid)
File "/home/auc/confs/forges_conf/cubes/vcreview/test/unittest_hooks.py", line 88, in assertEmailEqual
self.assertMultiLineEqual(email.content, content)
File "/usr/lib/pymodules/python2.6/unittest2/case.py", line 923, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/usr/lib/pymodules/python2.6/unittest2/case.py", line 415, in fail
raise self.failureException(msg)
AssertionError: u"\ncubicweb changed status from <in-progress> to <pending-review> for entity\n' [truncated]... != u"\ncubicweb changed status from <in-progress> to <pending-review> for entity\n' [truncated]...

cubicweb changed status from <in-progress> to <pending-review> for entity
'patch3.diff'

- review asked by Sylvain Th\ufffdnault <sylvain.thenault@logilab.fr> in
? ^
+ review asked by Sylvain Th\xe9nault <sylvain.thenault@logilab.fr> in
? ^
#10:9cf50f15d9a7

url: http://testing.fr/cubicweb/patch/1118

no stdout
no stderr
----------------------------------------------------------------------
Ran 1 test in 8.139s

FAILED (failures=1)
*******************************************************************************

prioritynormal
typebug
done in0.10.1
load0.500
load left0.000
closed by#2d0b22634759 [test/hooks] work around a likely python stdlib email bug (closes #2465601)