Skip to content

Commit

Permalink
TST: Don't try to call ipython_kernel_config.py as test script
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Feb 26, 2019
1 parent d13ff58 commit b9815f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/examples/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
if self == script:
# Don't call yourself!
continue
if script.name == 'ipython_kernel_config.py':
# This is a configuration file, not an example script
continue
print('Running', script, '...')
args = [sys.executable, str(script.relative_to(cwd))] + sys.argv[1:]
result = subprocess.run(args, cwd=str(cwd))
Expand Down

0 comments on commit b9815f1

Please sign in to comment.