[pypy-svn] r21015 - pypy/dist/pypy/rpython/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Dec 11 01:08:26 CET 2005
Author: cfbolz
Date: Sun Dec 11 01:08:25 2005
New Revision: 21015
Modified:
pypy/dist/pypy/rpython/test/test_objectmodel.py
Log:
make order of tests a bit clearer
Modified: pypy/dist/pypy/rpython/test/test_objectmodel.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_objectmodel.py (original)
+++ pypy/dist/pypy/rpython/test/test_objectmodel.py Sun Dec 11 01:08:25 2005
@@ -38,12 +38,10 @@
i = cast_object_to_int(a)
return cast_object_to_int(cast_int_to_object(i, A)) == i
res = interpret(f, [])
+ assert res > 0
# XXX humpf: there is no sane way to implement cast_ptr_to_int
# without going for the same hacks as in robjectmodel.cast_XXX_to_XXX
py.test.raises(AssertionError, interpret, g, [])
- assert res > 0
-
-
def strange_key_eq(key1, key2):
return key1[0] == key2[0] # only the 1st character is relevant
More information about the Pypy-commit
mailing list