From b25e1ad253a4d96aea31a7a3fb78522ea354f43a Mon Sep 17 00:00:00 2001 From: Fredrik Lundh Date: Thu, 22 Mar 2001 15:50:10 +0000 Subject: sre 2.1b2 update: - take locale into account for word boundary anchors (#410271) - restored 2.0's *? behaviour (#233283, #408936 and others) - speed up re.sub/re.subn --- Lib/test/test_sre.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_sre.py') diff --git a/Lib/test/test_sre.py b/Lib/test/test_sre.py index 88c0d62e8d..031cda6c0b 100644 --- a/Lib/test/test_sre.py +++ b/Lib/test/test_sre.py @@ -329,6 +329,8 @@ for t in tests: u = unicode(s, "latin-1") except NameError: pass + except TypeError: + continue # skip unicode test strings else: result=obj.search(u) if result==None: -- cgit v1.2.1