summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_argparse.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-02 23:46:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-02 23:46:42 (GMT)
commit4fd181c1fbc6f4daf6426f8714825e1ad2ce8768 (patch)
treef4f18682a6da8cedf19d43fa548c9f5c59a32723 /Lib/test/test_argparse.py
parent16f2fd013d4559f1458efbf21c68034d85bb255e (diff)
downloadcpython-4fd181c1fbc6f4daf6426f8714825e1ad2ce8768.zip
cpython-4fd181c1fbc6f4daf6426f8714825e1ad2ce8768.tar.gz
cpython-4fd181c1fbc6f4daf6426f8714825e1ad2ce8768.tar.bz2
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 ........
Diffstat (limited to 'Lib/test/test_argparse.py')
-rw-r--r--Lib/test/test_argparse.py4
1 files changed, 4 insertions, 0 deletions
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 @@ def test_main():
category=DeprecationWarning)
support.run_unittest(__name__)
+ # Remove global references to avoid looking like we have refleaks.
+ RFile.seen = {}
+ WFile.seen = set()
+
if __name__ == '__main__':