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
........
This commit is contained in:
Benjamin Peterson 2010-03-02 23:46:42 +00:00
parent 16f2fd013d
commit 4fd181c1fb
1 changed files with 4 additions and 0 deletions

View File

@ -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__':