summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-11 22:47:58 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-11 22:47:58 (GMT)
commitcf3520c2bf7a50fdd2e0251f435c9ebce180cfd2 (patch)
treec80483f1234599247c865dd0219f82d9c1fe5293 /Lib/test
parent49d1b4f919039f6caeddf2d1eba9708c0cfe8bd4 (diff)
downloadcpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.zip
cpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.tar.gz
cpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.tar.bz2
Remove the sre module.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_re.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py
index 7aa6996..11677f3 100644
--- a/Lib/test/test_re.py
+++ b/Lib/test/test_re.py
@@ -434,16 +434,6 @@ class ReTests(unittest.TestCase):
self.assertEqual(pat.match(p) is not None, True)
self.assertEqual(pat.match(p).span(), (0,256))
- def test_pickling(self):
- import pickle
- self.pickle_test(pickle)
- # old pickles expect the _compile() reconstructor in sre module
- import warnings
- with catch_warning():
- warnings.filterwarnings("ignore", "The sre module is deprecated",
- DeprecationWarning)
- from sre import _compile
-
def pickle_test(self, pickle):
oldpat = re.compile('a(?:b|(c|e){1,2}?|d)+?(.)')
s = pickle.dumps(oldpat)