cpython: 42970cbfc982 (original) (raw)

Mercurial > cpython

changeset 82541:42970cbfc982

(Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t type Skip the test on Windows. [#17223]

Victor Stinner victor.stinner@gmail.com
date Fri, 08 Mar 2013 02:33:44 +0100
parents 9aafc005a611(current diff)1fd165883a65(diff)
children a0b750ea3397
files Lib/test/test_array.py
diffstat 1 files changed, 3 insertions(+), 11 deletions(-)[+] [-] Lib/test/test_array.py 14

line wrap: on

line diff

--- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -24,15 +24,7 @@ try: except struct.error: have_long_long = False -try:

-except ImportError:

+sizeof_wchar = array.array('u').itemsize class ArraySubclass(array.array): @@ -1076,8 +1068,8 @@ class UnicodeTest(StringTest, unittest.T # U+FFFFFFFF is an invalid code point in Unicode 6.0 invalid_str = b'\xff\xff\xff\xff' else: