@@ -64,7 +64,7 @@ def build_cmult(c, path=None):
6464
6565
6666@invoke .task ()
67- def test_ctypes ():
67+ def test_ctypes (c ):
6868 """Run the script to test ctypes"""
6969 print_banner ("Testing ctypes Module for C" )
7070 # pty and python3 didn't work for me (win).
@@ -75,7 +75,7 @@ def test_ctypes():
7575
7676
7777@invoke .task ()
78- def test_ctypes_cpp ():
78+ def test_ctypes_cpp (c ):
7979 """Run the script to test ctypes"""
8080 print_banner ("Testing ctypes Module for C++" )
8181 # pty and python3 didn't work for me (win).
@@ -86,7 +86,7 @@ def test_ctypes_cpp():
8686
8787
8888@invoke .task ()
89- def build_cffi ():
89+ def build_cffi (c ):
9090 """Build the CFFI Python bindings"""
9191 print_banner ("Building CFFI Module" )
9292 ffi = cffi .FFI ()
@@ -119,14 +119,14 @@ def build_cffi():
119119
120120
121121@invoke .task ()
122- def test_cffi ():
122+ def test_cffi (c ):
123123 """Run the script to test CFFI"""
124124 print_banner ("Testing CFFI Module" )
125125 invoke .run ("python cffi_test.py" , pty = not on_win )
126126
127127
128128@invoke .task ()
129- def build_cppmult ():
129+ def build_cppmult (c ):
130130 """Build the shared library for the sample C++ code"""
131131 print_banner ("Building C++ Library" )
132132 invoke .run (
@@ -148,22 +148,22 @@ def compile_python_module(cpp_name, extension_name):
148148
149149
150150@invoke .task (build_cppmult )
151- def build_pybind11 ():
151+ def build_pybind11 (c ):
152152 """Build the pybind11 wrapper library"""
153153 print_banner ("Building PyBind11 Module" )
154154 compile_python_module ("pybind11_wrapper.cpp" , "pybind11_example" )
155155 print ("* Complete" )
156156
157157
158158@invoke .task ()
159- def test_pybind11 ():
159+ def test_pybind11 (c ):
160160 """Run the script to test PyBind11"""
161161 print_banner ("Testing PyBind11 Module" )
162162 invoke .run ("python3 pybind11_test.py" , pty = True )
163163
164164
165165@invoke .task (build_cppmult )
166- def build_cython ():
166+ def build_cython (c ):
167167 """Build the cython extension module"""
168168 print_banner ("Building Cython Module" )
169169 # Run cython on the pyx file to create a .cpp file
@@ -175,7 +175,7 @@ def build_cython():
175175
176176
177177@invoke .task ()
178- def test_cython ():
178+ def test_cython (c ):
179179 """Run the script to test Cython"""
180180 print_banner ("Testing Cython Module" )
181181 invoke .run ("python3 cython_test.py" , pty = True )
0 commit comments