[pypy-svn] r49240 - pypy/dist/pypy/rpython/test
arigo at codespeak.net
arigo at codespeak.net
Sat Dec 1 11:38:37 CET 2007
Author: arigo
Date: Sat Dec 1 11:38:36 2007
New Revision: 49240
Modified:
pypy/dist/pypy/rpython/test/test_rbuiltin.py
Log:
These checks are too precise, e.g. when llvm reuses the test.
Modified: pypy/dist/pypy/rpython/test/test_rbuiltin.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rbuiltin.py (original)
+++ pypy/dist/pypy/rpython/test/test_rbuiltin.py Sat Dec 1 11:38:36 2007
@@ -445,9 +445,12 @@
assert isinstance(x1, int)
assert isinstance(x2, (int, r_longlong))
assert isinstance(x3, int)
- assert x1 == intmask(x0) # at least on top of llinterp
- assert x3 == intmask(x2) # at least on top of llinterp
assert x0 != x2
+ # the following checks are probably too precise, but work at
+ # least on top of llinterp
+ if type(self) is TestLLtype:
+ assert x1 == intmask(x0)
+ assert x3 == intmask(x2)
class TestLLtype(BaseTestRbuiltin, LLRtypeMixin):
More information about the Pypy-commit
mailing list