Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r691:800cf3606cea Date: 2012-07-26 21:49 +0200 http://bitbucket.org/cffi/cffi/changeset/800cf3606cea/
Log: This part of the test only really makes sense if wchar_t is 4 bytes but unicode chars are 2 bytes. diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -1441,7 +1441,7 @@ #assert f(u'a\u1234b') == 3 -- not implemented py.test.raises(NotImplementedError, f, u'a\u1234b') # - if wchar4: + if wchar4 and not pyuni4: # try out-of-range wchar_t values x = cast(BWChar, 1114112) py.test.raises(ValueError, unicode, x) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit