Kaydet (Commit) c27d655c authored tarafından Tim Peters's avatar Tim Peters

dash_R_cleanup(): Clear filecmp._cache. This accounts for

different results across -R runs (at least on Windows) of
test_filecmp.
üst 704fbe41
......@@ -639,7 +639,7 @@ def dash_R_cleanup(fs, ps, pic):
import gc, copy_reg
import _strptime, linecache, warnings, dircache
import urlparse, urllib, urllib2, mimetypes, doctest
import struct
import struct, filecmp
from distutils.dir_util import _path_created
# Restore some original values.
......@@ -660,6 +660,7 @@ def dash_R_cleanup(fs, ps, pic):
linecache.clearcache()
mimetypes._default_mime_types()
struct._cache.clear()
filecmp._cache.clear()
doctest.master = None
# Collect cyclic trash.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment