def test_examples(frontend, f): # Test the examples with whatever the current QT_LIB front # end is print('frontend = %s. f = %s' % (frontend, f)) if not frontends[frontend]: pytest.skip('{} is not installed. Skipping tests'.format(frontend)) utils.testFile(f[0], f[1], utils.sys.executable, frontend)
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)) utils.testFile(f[0], f[1], utils.sys.executable, frontend)
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)) utils.testFile(f[0], f[1], utils.sys.executable, frontend)