summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index bd79c97..790d769 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -771,8 +771,8 @@ def dash_R_cleanup(fs, ps, pic, abcs):
dircache.reset()
linecache.clearcache()
mimetypes._default_mime_types()
- struct._cache.clear()
filecmp._cache.clear()
+ struct._clearcache()
doctest.master = None
# Collect cyclic trash.