[pypy-svn] r48357 - in pypy/branch/pypy-rpython-unicode/annotation: . test
fijal at codespeak.net
fijal at codespeak.net
Wed Nov 7 14:22:07 CET 2007
Author: fijal
Date: Wed Nov 7 14:22:06 2007
New Revision: 48357
Modified:
pypy/branch/pypy-rpython-unicode/annotation/model.py
pypy/branch/pypy-rpython-unicode/annotation/test/test_annrpython.py
Log:
Make test pass (thanks carl, that was stupid)
Modified: pypy/branch/pypy-rpython-unicode/annotation/model.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/annotation/model.py (original)
+++ pypy/branch/pypy-rpython-unicode/annotation/model.py Wed Nov 7 14:22:06 2007
@@ -223,11 +223,8 @@
class SomeChar(SomeString):
"Stands for an object known to be a string of length 1."
-class SomeUnicodeCodePoint(SomeObject):
+class SomeUnicodeCodePoint(SomeUnicodeString):
"Stands for an object known to be a unicode codepoint."
- knowntype = unicode
- immutable = True
-
def can_be_none(self):
return False
Modified: pypy/branch/pypy-rpython-unicode/annotation/test/test_annrpython.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/annotation/test/test_annrpython.py (original)
+++ pypy/branch/pypy-rpython-unicode/annotation/test/test_annrpython.py Wed Nov 7 14:22:06 2007
@@ -2937,7 +2937,6 @@
assert isinstance(s, annmodel.SomeUnicodeString)
def test_replace_annotations(self):
- py.test.skip("FIXME")
def f(x):
return 'a'.replace(x, 'b')
More information about the Pypy-commit
mailing list