Ticket #420 (defect)
Opened 3 years ago
Last modified 3 years ago
testDecodingEncodingFilter fails on OS X 10.4.3
Status: closed (fixed)
| Reported by: | ssteiner@integrateddevcorp.com | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2-beta |
| Component: | CherryPy code | Keywords: | encode decode test suite |
| Cc: |
Running test against freshly downloaded from svn (882)
Mac OS X 10.4.3
Python version used to run this test script: 2.4.1
CherryPy version 2.2.0-beta
testDecodingEncodingFilter (test_decodingencoding_filter.DecodingEncodingFilterTest?) ...
ERROR: expected body: '\xff\xfe\xdbk\xfdl\x1cN:\x00 \x00S\x00i\x00n\x00g\x00,\x00 \x00L\x00i\x00t\x00t\x00l\x00e\x00 \x00B\x00i\x00r\x00d\x00i\x00e\x00?\x00'
actual body: '\xfe\xffk\xdbl\xfdN\x1c\x00:\x00 \x00S\x00i\x00n\x00g\x00,\x00 \x00L\x00i\x00t\x00t\x00l\x00e\x00 \x00B\x00i\x00r\x00d\x00i\x00e\x00?'
Show: [B]ody [H]eaders [S]tatus [U]RL; [I]gnore, [R]aise, or sys.e[X]it >> I
ERROR: expected body: '\xff\xfe\xdbk\xfdl\x1cN:\x00 \x00S\x00i\x00n\x00g\x00,\x00 \x00L\x00i\x00t\x00t\x00l\x00e\x00 \x00B\x00i\x00r\x00d\x00i\x00e\x00?\x00'
actual body: '\xfe\xffk\xdbl\xfdN\x1c\x00:\x00 \x00S\x00i\x00n\x00g\x00,\x00 \x00L\x00i\x00t\x00t\x00l\x00e\x00 \x00B\x00i\x00r\x00d\x00i\x00e\x00?'
Show: [B]ody [H]eaders [S]tatus [U]RL; [I]gnore, [R]aise, or sys.e[X]it >> I ok
Change History
12/30/05 20:29:05: Modified by fumanchu
01/24/06 07:23:54: Modified by rdelon
- status changed from new to closed.
- resolution set to fixed.
Hopefully fixed in [935]


Hmmmm... maybe we should just make sing16 = u"\u6bdb\u6cfd\u4e1c: Sing, Little Birdie?".encode('utf-16') and let the platform differences sort themselves out that way.