(args, **kwargs)
| 47 | |
| 48 | |
| 49 | def check_call(args, **kwargs): |
| 50 | # Add the module directory to the path to be able to find the examples |
| 51 | path = f"{os.path.dirname(__file__)}{os.pathsep}{os.environ['PATH']}" |
| 52 | return subprocess.check_call(args, env={'PATH': path}, **kwargs) |
| 53 | |
| 54 | |
| 55 | class ExamplesTest(unittest.TestCase): |