]> git.ipfire.org Git - thirdparty/Python/cpython.git/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 0e18dd9356d413e8d22dd480bc9d6ad0dbf9db01..6a391458909efae58693da565fda3e770b783454 100755 (executable)
@@ -170,8 +170,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__':