dash_R_cleanup(): Clear filecmp._cache. This accounts for
different results across -R runs (at least on Windows) of test_filecmp.
This commit is contained in:
parent
704fbe41b7
commit
c27d655c00
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue