test_multibytecodec testresult

cpu-mhz 1603.696
cpu-model AMD Opteron(tm) Processor 242
executable py.py
execution-time 12.355276823
exit-status 1
fspath /home/hpk/pypy-dist/lib-python/2.4.1/test/test_multibytecodec.py
options
outcome ERR
platform linux2
pypy-revision 27957
python-version-info (2, 4, 2, 'final', 0)
startdate Fri Jun 2 12:23:06 2006
testreport-version 1.1
timeout 1225.0
userhost hpk@cen01

stdout

test_nullcoding (test.test_multibytecodec.Test_StreamWriter) ... ERROR
test_str_decode (test.test_multibytecodec.Test_StreamWriter) ... ERROR
test_streamwriter_strwrite (test.test_multibytecodec.Test_StreamWriter) ... ERROR

======================================================================
ERROR: test_nullcoding (test.test_multibytecodec.Test_StreamWriter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_multibytecodec.py", line 65, in test_nullcoding
    self.assertEqual(''.decode('gb18030'), u'')
  File "/home/hpk/pypy-dist/lib-python/2.4.1/codecs.py", line 673, in getdecoder
    return lookup(encoding)[1]
LookupError: unknown encoding: gb18030

======================================================================
ERROR: test_str_decode (test.test_multibytecodec.Test_StreamWriter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_multibytecodec.py", line 70, in test_str_decode
    self.assertEqual('abcd'.encode('gb18030'), 'abcd')
  File "/home/hpk/pypy-dist/lib-python/2.4.1/codecs.py", line 663, in getencoder
    return lookup(encoding)[0]
LookupError: unknown encoding: gb18030

======================================================================
ERROR: test_streamwriter_strwrite (test.test_multibytecodec.Test_StreamWriter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_multibytecodec.py", line 74, in test_streamwriter_strwrite
    wr = codecs.getwriter('gb18030')(s)
  File "/home/hpk/pypy-dist/lib-python/2.4.1/codecs.py", line 693, in getwriter
    return lookup(encoding)[3]
LookupError: unknown encoding: gb18030

----------------------------------------------------------------------
Ran 3 tests in 1.580s

FAILED (errors=3)

stderr

Loading grammar /home/hpk/pypy-dist/pypy/interpreter/pyparser/data/Grammar2.5a
faking <type 'module'>
faking <type 'file'>
faking <type 'posix.stat_result'>
faking <type 'posix.statvfs_result'>
fake-wrapping interp file <open file '<stdout>', mode 'w' at 0x558e5068>
fake-wrapping interp file <open file '<stderr>', mode 'w' at 0x558e50b0>
fake-wrapping interp file <open file '<stdin>', mode 'r' at 0x558e5020>
Traceback (application-level):
  File "/home/hpk/pypy-dist/pypy/tool/pytest/run-script/regrverbose.py", line 12 in <module>
    indirect_test()
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_multibytecodec.py", line 81 in test_main
    test_support.run_suite(suite)
  File "/home/hpk/pypy-dist/lib-python/2.4.1/test/test_support.py", line 274 in run_suite
    raise TestFailed(msg)
TestFailed: errors occurred; run in verbose mode for details