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
........
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py
index 9e1efa8..7479246 100644
--- a/Lib/test/test_argparse.py
+++ b/Lib/test/test_argparse.py
@@ -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__':