summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
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 b8509129c8..85f57a6c0e 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()