Author: mattip <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to