use {0} instead of {} in format

This commit is contained in:
Radovan Bast
2016-04-14 12:12:41 +02:00
parent aebb3f7e60
commit 8319d41ba7
3 changed files with 36 additions and 36 deletions

View File

@ -151,7 +151,7 @@ def test_python_libs():
def test_python_libs_custom():
python_executable = sys.executable
configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={}'.format(python_executable))
configure_build_and_exe('python_libs_custom', 'python setup --cxx=g++ --python={0}'.format(python_executable))
def test_boost_header_only():