[pypy-svn] r73605 - pypy/branch/cpython-extension/pypy/module/cpyext/test

fijal at codespeak.net fijal at codespeak.net
Fri Apr 9 22:50:31 CEST 2010


Author: fijal
Date: Fri Apr  9 22:50:29 2010
New Revision: 73605

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/test/test_longobject.py
Log:
I think this is better test (fails)


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/test/test_longobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/test/test_longobject.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/test/test_longobject.py	Fri Apr  9 22:50:29 2010
@@ -9,7 +9,7 @@
 class TestLongObject(BaseApiTest):
     def test_FromLong(self, space, api):
         value = api.PyLong_FromLong(3)
-        assert isinstance(value, W_IntObject)
+        assert isinstance(value, W_LongObject)
         assert space.unwrap(value) == 3
 
         value = api.PyLong_FromLong(sys.maxint + 1)



More information about the Pypy-commit mailing list