py26: {} cannot be empty for string formatting

So that's a nasty gotcha of python 2.6!
This commit is contained in:
Eric Dill 2015-08-02 17:18:38 -04:00
parent 4b15fa75d5
commit afbc65325e

View File

@ -30,7 +30,7 @@ def test_examples(frontend, f):
# Test the examples with all available front-ends
print('frontend = %s. f = %s' % (frontend, f))
if not frontends[frontend]:
pytest.skip('{} is not installed. Skipping tests'.format(frontend))
pytest.skip('%s is not installed. Skipping tests' % frontend)
utils.testFile(f[0], f[1], utils.sys.executable, frontend)
if __name__ == "__main__":