]> granicus.if.org Git - python/commitdiff
Add a note about checking refleaks to patchcheck.
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 11 Jan 2013 12:07:47 +0000 (14:07 +0200)
Tools/scripts/patchcheck.py

index 438e44eeff8a0ce65e288836ef592fccaecdbc35..fe2e2913f1ff5d32f7d9dc94baf952e43008a5f3 100755 (executable)
@@ -174,8 +174,9 @@ def main():
 
     # 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__':