diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-12 15:50:08 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-12 15:50:08 (GMT) |
commit | fbc5ff6235e5fb53900d17f2bb69caec03240ba4 (patch) | |
tree | 2fa61711f610e8d9beba887190b5d7963503c249 /Tools/scripts | |
parent | 28d39a0c08dfe7668ba3f9808068f37d6bbea752 (diff) | |
download | cpython-fbc5ff6235e5fb53900d17f2bb69caec03240ba4.zip cpython-fbc5ff6235e5fb53900d17f2bb69caec03240ba4.tar.gz cpython-fbc5ff6235e5fb53900d17f2bb69caec03240ba4.tar.bz2 |
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.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/patchcheck.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ 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__': |