summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-21 09:47:09 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-21 09:47:09 (GMT)
commit9ada3d6e29d5165dadacbe6be07bcd35cfbef59d (patch)
tree19bca246f86e49114613e5c9f08d4ebe637ae480 /Lib/test/regrtest.py
parent725ccd181020ba04bfeea41078ddb0c82c284c63 (diff)
downloadcpython-9ada3d6e29d5165dadacbe6be07bcd35cfbef59d.zip
cpython-9ada3d6e29d5165dadacbe6be07bcd35cfbef59d.tar.gz
cpython-9ada3d6e29d5165dadacbe6be07bcd35cfbef59d.tar.bz2
Merge trunk up to 43069, putting re.py back and hopefully making the branch
usable again.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index b850912..85f57a6 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -110,7 +110,7 @@ import sys
import getopt
import random
import warnings
-import sre
+import re
import cStringIO
import traceback
@@ -525,7 +525,7 @@ def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False):
_path_created.clear()
warnings.filters[:] = fs
gc.collect()
- sre.purge()
+ re.purge()
_strptime._regex_cache.clear()
urlparse.clear_cache()
urllib.urlcleanup()