Skip to content

Commit 5b50abb

Browse files
committed
Fix run-examples for macOS+Py3.8.1.
1 parent baaed44 commit 5b50abb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

run-examples.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def main():
1818
(Path(__file__).resolve().parent / "examples").glob("*.py")):
1919
if path.name not in SKIP:
2020
print("Running", path)
21-
runpy.run_path(path, run_name=path.stem)
21+
# run_path(Path) seems broken on macOS + Py3.8.1.
22+
runpy.run_path(str(path), run_name=path.stem)
2223

2324

2425
if __name__ == "__main__":

0 commit comments

Comments
 (0)