From f42b6eeb78e8ffd6c1a01383958381715a5a244a Mon Sep 17 00:00:00 2001 From: Matti Picus <matti.picus@gmail.com> Date: Wed, 30 Jun 2021 10:36:15 +0300 Subject: [PATCH] Fix call to run_distutils() in debugger test (GH-4256) --- Cython/Debugger/Tests/TestLibCython.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cython/Debugger/Tests/TestLibCython.py b/Cython/Debugger/Tests/TestLibCython.py index 6fe533f51..0d8a3e613 100644 --- a/Cython/Debugger/Tests/TestLibCython.py +++ b/Cython/Debugger/Tests/TestLibCython.py @@ -132,10 +132,11 @@ class DebuggerTestCase(unittest.TestCase): ) cython_compile_testcase.run_distutils( + test_directory=opts['test_directory'], + module=opts['module'], + workdir=opts['test_directory'], incdir=None, - workdir=self.tempdir, extra_extension_args={'extra_objects':['cfuncs.o']}, - **opts ) finally: optimization_disabler.restore_state() -- 2.30.9