[pypy-svn] r61545 - pypy/trunk/pypy/lib/app_test/ctypes_tests
afa at codespeak.net
afa at codespeak.net
Wed Feb 4 12:53:33 CET 2009
Author: afa
Date: Wed Feb 4 12:53:31 2009
New Revision: 61545
Modified:
pypy/trunk/pypy/lib/app_test/ctypes_tests/test_callbacks.py
pypy/trunk/pypy/lib/app_test/ctypes_tests/test_cfuncs.py
Log:
Let these win32-specific tests pass
Modified: pypy/trunk/pypy/lib/app_test/ctypes_tests/test_callbacks.py
==============================================================================
--- pypy/trunk/pypy/lib/app_test/ctypes_tests/test_callbacks.py (original)
+++ pypy/trunk/pypy/lib/app_test/ctypes_tests/test_callbacks.py Wed Feb 4 12:53:31 2009
@@ -103,7 +103,7 @@
except NameError:
pass
else:
- class StdcallCallbacks(Callbacks):
+ class TestStdcallCallbacks(TestCallbacks):
functype = WINFUNCTYPE
################################################################
Modified: pypy/trunk/pypy/lib/app_test/ctypes_tests/test_cfuncs.py
==============================================================================
--- pypy/trunk/pypy/lib/app_test/ctypes_tests/test_cfuncs.py (original)
+++ pypy/trunk/pypy/lib/app_test/ctypes_tests/test_cfuncs.py Wed Feb 4 12:53:31 2009
@@ -195,6 +195,6 @@
setattr(self, name, func)
return func
- class stdcallCFunctions(CFunctions):
- _dll = stdcall_dll(_ctypes_test.__file__)
- pass
+ class TestStdcallCFunctions(TestCFunctions):
+ def setup_class(cls):
+ cls._dll = stdcall_dll(_ctypes_test)
More information about the Pypy-commit
mailing list