diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py index 204407eb550..3e0155f5454 100755 --- a/Tools/scripts/patchcheck.py +++ b/Tools/scripts/patchcheck.py @@ -141,8 +141,9 @@ def main(): 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__':