Fixes problem with format syntax spotted by @miroi
This commit is contained in:
parent
5d4ca459d8
commit
1c3c42630b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user