[Python-checkins] r78605 - in python/branches/py3k: Lib/test/test_argparse.py
benjamin.peterson
python-checkins at python.org
Wed Mar 3 00:46:43 CET 2010
Author: benjamin.peterson
Date: Wed Mar 3 00:46:42 2010
New Revision: 78605
Log:
Merged revisions 78604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78604 | benjamin.peterson | 2010-03-02 17:43:47 -0600 (Tue, 02 Mar 2010) | 1 line
plug ref leaks
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_argparse.py
Modified: python/branches/py3k/Lib/test/test_argparse.py
==============================================================================
--- python/branches/py3k/Lib/test/test_argparse.py (original)
+++ python/branches/py3k/Lib/test/test_argparse.py Wed Mar 3 00:46:42 2010
@@ -4178,6 +4178,10 @@
category=DeprecationWarning)
support.run_unittest(__name__)
+ # Remove global references to avoid looking like we have refleaks.
+ RFile.seen = {}
+ WFile.seen = set()
+
if __name__ == '__main__':
More information about the Python-checkins
mailing list