Merge pull request #93 from robertodr/master

Fixes problem with format syntax spotted by @miroi
This commit is contained in:
Radovan Bast 2015-08-28 21:46:28 +02:00
commit 85dc78a9d5

View File

@ -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)