cpython: 67a994d5657d (original) (raw)

Mercurial > cpython

changeset 78464:67a994d5657d

Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t... [#13072]

Victor Stinner victor.stinner@gmail.com
date Wed, 08 Aug 2012 20:19:37 +0200
parents e0f3406c43e4
children 85266c6f9ae4
files Lib/test/test_array.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_array.py 3

line wrap: on

line diff

--- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -3,6 +3,7 @@ Roger E. Masse """ +import ctypes import unittest from test import support import weakref @@ -1041,7 +1042,7 @@ class UnicodeTest(StringTest): a.fromunicode('\x11abc\xff\u1234') s = a.tounicode() self.assertEqual(s, '\xa0\xc2\u1234 \x11abc\xff\u1234')

s = '\x00="'a\b\x80\xff\u0000\u0001\u1234' a = array.array('u', s)