[Python-checkins] r78262 - python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/checkleak.py

stefan.krah python-checkins at python.org
Sat Feb 20 18:26:47 CET 2010


Author: stefan.krah
Date: Sat Feb 20 18:26:47 2010
New Revision: 78262

Log:
regrtest.py -R does not find leaks.



Removed:
   python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/checkleak.py

Deleted: python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/checkleak.py
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/checkleak.py	Sat Feb 20 18:26:47 2010
+++ (empty file)
@@ -1,21 +0,0 @@
-#
-# Valgrind claims a possible leak indicating that the signal-dicts
-# of the context are not freed properly. The tests below do not
-# show any leaks.
-#
-
-
-from cdecimal import *
-
-
-for i in xrange(10000000):
-    c = Context()
-    c.prec = 9
-    setcontext(c)
-
-
-for i in xrange(10000000):
-    c = Context()
-    d = getcontext().copy()
-    del(c)
-    del(d)


More information about the Python-checkins mailing list