Skip to content

Commit

Permalink
Fix run-examples for macOS+Py3.8.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Jan 20, 2020
1 parent d27f6cc commit ba7a4bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def main():
(Path(__file__).resolve().parent / "examples").glob("*.py")):
if path.name not in SKIP:
print("Running", path)
runpy.run_path(path, run_name=path.stem)
# run_path(Path) seems broken on macOS + Py3.8.1.
runpy.run_path(str(path), run_name=path.stem)


if __name__ == "__main__":
Expand Down

0 comments on commit ba7a4bc

Please sign in to comment.