py26: {} cannot be empty for string formatting
So that's a nasty gotcha of python 2.6!
This commit is contained in:
parent
4b15fa75d5
commit
afbc65325e
|
@ -30,7 +30,7 @@ def test_examples(frontend, f):
|
||||||
# Test the examples with all available front-ends
|
# Test the examples with all available front-ends
|
||||||
print('frontend = %s. f = %s' % (frontend, f))
|
print('frontend = %s. f = %s' % (frontend, f))
|
||||||
if not frontends[frontend]:
|
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)
|
utils.testFile(f[0], f[1], utils.sys.executable, frontend)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user