patchcheck: don’t talk about the test suite when no code file were changed.
The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
index 9eb367d..dc6b932 100755
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -157,8 +157,9 @@
reported_news(special_files)
# Test suite run and passed.
- print()
- print("Did you run the test suite?")
+ if python_files or c_files:
+ print()
+ print("Did you run the test suite?")
if __name__ == '__main__':