summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-08 05:11:15 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-08 05:11:15 (GMT)
commitbaefcebb55796470026d108b697d50473928a348 (patch)
treeadd91d21447533bf14de61086e4061ad5210d9b3 /Lib
parent73f0a4ecd76549dae9a58aa6d7949d4d2e583d03 (diff)
downloadcpython-baefcebb55796470026d108b697d50473928a348.zip
cpython-baefcebb55796470026d108b697d50473928a348.tar.gz
cpython-baefcebb55796470026d108b697d50473928a348.tar.bz2
Remove erroneous and confusing comment -- sre patterns *can* be
pickled and we do *not* expect exceptions from either pickle or cPickle.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_sre.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py
index d1a6909..6442036 100644
--- a/Lib/test/test_sre.py
+++ b/Lib/test/test_sre.py
@@ -264,7 +264,7 @@ try:
s = pickle.dumps(pat)
pat = pickle.loads(s)
except:
- print TestFailed, 're module pickle' # expected
+ print TestFailed, 're module pickle'
try:
import cPickle
@@ -272,7 +272,7 @@ try:
s = cPickle.dumps(pat)
pat = cPickle.loads(s)
except:
- print TestFailed, 're module cPickle' # expected
+ print TestFailed, 're module cPickle'
# constants
test(r"""sre.I""", sre.IGNORECASE)