[pypy-commit] pypy default: convert comment to docstring
mattip
noreply at buildbot.pypy.org
Wed Jun 13 07:54:38 CEST 2012
Author: mattip <matti.picus at gmail.com>
Branch:
Changeset: r55636:b5f81e7709a3
Date: 2012-06-13 08:53 +0300
http://bitbucket.org/pypy/pypy/changeset/b5f81e7709a3/
Log: convert comment to docstring
diff --git a/pypy/module/_ffi/test/test_funcptr.py b/pypy/module/_ffi/test/test_funcptr.py
--- a/pypy/module/_ffi/test/test_funcptr.py
+++ b/pypy/module/_ffi/test/test_funcptr.py
@@ -628,14 +628,14 @@
sleep(10)
def test_by_ordinal(self):
- if not self.iswin32:
- skip("windows specific")
"""
int DLLEXPORT AAA_first_ordinal_function()
{
return 42;
}
"""
+ if not self.iswin32:
+ skip("windows specific")
from _ffi import CDLL, types
libfoo = CDLL(self.libfoo_name)
f_name = libfoo.getfunc('AAA_first_ordinal_function', [], types.sint)
More information about the pypy-commit
mailing list