[Python-checkins] cpython (2.7): Add a note about checking refleaks to patchcheck.

ezio.melotti python-checkins at python.org
Fri Jan 11 13:12:55 CET 2013


http://hg.python.org/cpython/rev/1cfe0f50fd0c
changeset:   81414:1cfe0f50fd0c
branch:      2.7
parent:      81408:4a86efa5a97f
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Fri Jan 11 14:07:47 2013 +0200
summary:
  Add a note about checking refleaks to patchcheck.

files:
  Tools/scripts/patchcheck.py |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py
--- a/Tools/scripts/patchcheck.py
+++ b/Tools/scripts/patchcheck.py
@@ -174,8 +174,9 @@
 
     # Test suite run and passed.
     if python_files or c_files:
+        end = " and check for refleaks?" if c_files else "?"
         print
-        print "Did you run the test suite?"
+        print "Did you run the test suite" + end
 
 
 if __name__ == '__main__':

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list