From: Guido van Rossum Date: Sat, 8 Dec 2001 05:11:15 +0000 (+0000) Subject: Remove erroneous and confusing comment -- sre patterns *can* be X-Git-Tag: v2.2.1c1~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=baefcebb55796470026d108b697d50473928a348;p=python Remove erroneous and confusing comment -- sre patterns *can* be pickled and we do *not* expect exceptions from either pickle or cPickle. --- diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py index d1a6909f63..6442036cfd 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)