[issue8386] test_pickle failing

Tim Golden report at bugs.python.org
Tue Apr 13 15:04:26 CEST 2010


New submission from Tim Golden <mail at timgolden.me.uk>:

test_pickle failing on WinXP

http://svn.python.org/projects/python/branches/py3k/Lib r80044

======================================================================
ERROR: test_unicode (__main__.CPicklerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test\pickletester.py", line 523, in test_unicode
     p = self.dumps(u, proto)
   File "C:\work_in_progress\make-snapshots\branches\py3k\python\Lib\test\test_pickle.py", line 30, in dumps
     p.dump(arg)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc80' in position 1: surrogates not allowed

======================================================================
ERROR: test_unicode (__main__.CDumpPickle_LoadPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test\pickletester.py", line 523, in test_unicode
     p = self.dumps(u, proto)
   File "C:\work_in_progress\make-snapshots\branches\py3k\python\Lib\test\test_pickle.py", line 30, in dumps
     p.dump(arg)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udc80' in position 1: surrogates not allowed

======================================================================
ERROR: test_unicode (__main__.DumpPickle_CLoadPickle)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test\pickletester.py", line 524, in test_unicode
     u2 = self.loads(p)
   File "C:\work_in_progress\make-snapshots\branches\py3k\python\Lib\test\test_pickle.py", line 37, in loads
     return u.load()
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3: illegal encoding

----------------------------------------------------------------------

----------
messages: 103045
nosy: tim.golden
severity: normal
status: open
title: test_pickle failing

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8386>
_______________________________________


More information about the Python-bugs-list mailing list