summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-10 21:11:46 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-10 21:11:46 (GMT)
commitf4fd99344a9c18c1aaee2f1840907e4a38576edd (patch)
tree1226807b9e4bf901a4d19819cef15b9bfadb21fa /Lib/test/regrtest.py
parent7ecf3dcaeec4c0561fa2a952b08c259f3a542587 (diff)
downloadcpython-f4fd99344a9c18c1aaee2f1840907e4a38576edd.zip
cpython-f4fd99344a9c18c1aaee2f1840907e4a38576edd.tar.gz
cpython-f4fd99344a9c18c1aaee2f1840907e4a38576edd.tar.bz2
Remove the dircache module.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 675cea3..bbc81bc 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -725,7 +725,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks):
def dash_R_cleanup(fs, ps, pic, abcs):
import gc, copy_reg
- import _strptime, linecache, dircache
+ import _strptime, linecache
import urlparse, urllib, urllib2, mimetypes, doctest
import struct, filecmp, _abcoll
from distutils.dir_util import _path_created
@@ -762,7 +762,6 @@ def dash_R_cleanup(fs, ps, pic, abcs):
urlparse.clear_cache()
urllib.urlcleanup()
urllib2.install_opener(None)
- dircache.reset()
linecache.clearcache()
mimetypes._default_mime_types()
filecmp._cache.clear()