[pypy-svn] r41603 - pypy/dist/pypy/rpython/lltypesystem/test
fijal at codespeak.net
fijal at codespeak.net
Thu Mar 29 10:31:26 CEST 2007
Author: fijal
Date: Thu Mar 29 10:31:22 2007
New Revision: 41603
Modified:
pypy/dist/pypy/rpython/lltypesystem/test/test_rtagged.py
Log:
Fix those tests
Modified: pypy/dist/pypy/rpython/lltypesystem/test/test_rtagged.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/test/test_rtagged.py (original)
+++ pypy/dist/pypy/rpython/lltypesystem/test/test_rtagged.py Thu Mar 29 10:31:22 2007
@@ -146,7 +146,7 @@
res = interpret(fn, [-832])
assert ''.join(res.chars) == '<unboxed -832>'
res = interpret(fn, [1])
- assert ''.join(res.chars) == '<B object>'
+ assert ''.join(res.chars).startswith('<B object')
def test_format():
def fn(n):
@@ -158,7 +158,7 @@
res = interpret(fn, [-832])
assert ''.join(res.chars) == '<unboxed -832>'
res = interpret(fn, [1])
- assert ''.join(res.chars) == '<B object>'
+ assert ''.join(res.chars).startswith('<B object')
def test_method():
def fn(n):
More information about the Pypy-commit
mailing list