From 1c3c42630b495af504f0f43a5d544c95f28cecb1 Mon Sep 17 00:00:00 2001 From: Roberto Di Remigio Date: Fri, 28 Aug 2015 21:27:56 +0200 Subject: [PATCH] Fixes problem with format syntax spotted by @miroi --- test/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test.py b/test/test.py index cc6a6a4..99b5f38 100644 --- a/test/test.py +++ b/test/test.py @@ -205,8 +205,8 @@ def test_python_interpreter(): def test_python_interpreter_custom(): - python_executable = sys.executable - configure_build_and_exe('python_interpreter_custom', 'python setup.py --cxx=g++ --python={}'.format(python_executable)) + setup = 'python setup.py --cxx=g++ --python=%s' % sys.executable + configure_build_and_exe('python_interpreter_custom', setup) def test_python_libs(): @@ -214,5 +214,5 @@ def test_python_libs(): def test_python_libs_custom(): - python_executable = sys.executable - configure_build_and_exe('python_libs_custom', 'python setup.py --cxx=g++ --python={}'.format(python_executable)) + setup = 'python setup.py --cxx=g++ --python=%s' % sys.executable + configure_build_and_exe('python_libs_custom', setup)