diff --git a/Tests/check_release_notes.py b/Tests/check_release_notes.py index db9ba364b..0a9a898d7 100644 --- a/Tests/check_release_notes.py +++ b/Tests/check_release_notes.py @@ -1,6 +1,6 @@ import sys from pathlib import Path -for rst in Path("docs/releasenotes/").rglob("[1-9]*.rst"): +for rst in Path("docs/releasenotes").glob("[1-9]*.rst"): if "TODO" in open(rst).read(): sys.exit(f"Error: remove TODO from {rst}")