diff --git a/Cython/Build/Tests/TestInline.py b/Cython/Build/Tests/TestInline.py index 9756b5d7e4ef5ce0710d585477e7b9ba37272bac..b8c5809067e51f21565192b95ec3c6ae00e14719 100644 --- a/Cython/Build/Tests/TestInline.py +++ b/Cython/Build/Tests/TestInline.py @@ -45,10 +45,10 @@ class TestInline(CythonTest): a = 1 cdef double b = 2 cdef c = [] - """), dict(a=1, b=2.0, c=[])) + """, **self.test_kwds), dict(a=1, b=2.0, c=[])) def test_def_node(self): - foo = inline("def foo(x): return x * x")['foo'] + foo = inline("def foo(x): return x * x", **self.test_kwds)['foo'] self.assertEquals(foo(7), 49) def test_pure(self): @@ -57,7 +57,7 @@ class TestInline(CythonTest): b = cy.declare(float, a) c = cy.declare(cy.pointer(cy.float), &b) return b - """, a=3) + """, a=3, **self.test_kwds) self.assertEquals(type(b), float) if has_numpy: