[pypy-svn] r75710 - pypy/branch/interplevel-codecs/pypy/module/_codecs/test
afa at codespeak.net
afa at codespeak.net
Thu Jul 1 10:48:22 CEST 2010
Author: afa
Date: Thu Jul 1 10:48:19 2010
New Revision: 75710
Modified:
pypy/branch/interplevel-codecs/pypy/module/_codecs/test/test_codecs.py
Log:
These tests pass, actually
Modified: pypy/branch/interplevel-codecs/pypy/module/_codecs/test/test_codecs.py
==============================================================================
--- pypy/branch/interplevel-codecs/pypy/module/_codecs/test/test_codecs.py (original)
+++ pypy/branch/interplevel-codecs/pypy/module/_codecs/test/test_codecs.py Thu Jul 1 10:48:19 2010
@@ -12,9 +12,6 @@
raises(TypeError, _codecs.register, 1)
def test_bigU_codecs(self):
- import sys
- if sys.maxunicode <= 0xffff:
- return # this test cannot run on UCS2 builds
u = u'\U00010001\U00020002\U00030003\U00040004\U00050005'
for encoding in ('utf-8', 'utf-16', 'utf-16-le', 'utf-16-be',
'raw_unicode_escape',
@@ -22,9 +19,6 @@
assert unicode(u.encode(encoding),encoding) == u
def test_ucs4(self):
- import sys
- if sys.maxunicode <= 0xffff:
- return # this test cannot run on UCS2 builds
x = u'\U00100000'
y = x.encode("raw-unicode-escape").decode("raw-unicode-escape")
assert x == y
More information about the Pypy-commit
mailing list