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

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


http://hg.python.org/cpython/rev/0ed68fb13b3a
changeset:   81415:0ed68fb13b3a
branch:      3.2
parent:      81409:973f3a253ab0
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
@@ -170,8 +170,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