[pypy-svn] r51522 - pypy/dist/pypy/lib/app_test/ctypes
fijal at codespeak.net
fijal at codespeak.net
Fri Feb 15 13:37:35 CET 2008
Author: fijal
Date: Fri Feb 15 13:37:34 2008
New Revision: 51522
Modified:
pypy/dist/pypy/lib/app_test/ctypes/test_keepalive.py
Log:
another test
Modified: pypy/dist/pypy/lib/app_test/ctypes/test_keepalive.py
==============================================================================
--- pypy/dist/pypy/lib/app_test/ctypes/test_keepalive.py (original)
+++ pypy/dist/pypy/lib/app_test/ctypes/test_keepalive.py Fri Feb 15 13:37:34 2008
@@ -36,3 +36,8 @@
p[0] = y
assert p._objects.keys() == ['1']
assert p._objects['1'].value == 3
+
+ def test_char_p(self):
+ assert c_char_p("abc")._objects == "abc"
+ assert c_int(3)._objects is None
+
More information about the Pypy-commit
mailing list