def test_example(self, name, example): runpy.run_path(example, run_name='__main__') # Test algorithm as if scripts/run_algo.py is being used.