mirror of https://github.com/python/cpython
plug ref leaks
This commit is contained in:
parent
d23d3930ff
commit
842b95b030
|
@ -4178,6 +4178,10 @@ def test_main():
|
|||
category=DeprecationWarning)
|
||||
|
||||
test_support.run_unittest(__name__)
|
||||
# Remove global references to avoid looking like we have refleaks.
|
||||
RFile.seen = {}
|
||||
WFile.seen = set()
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue