[Python-checkins] python/dist/src/Lib/test test_re.py,1.48,1.49 (original) (raw)
loewis at users.sourceforge.net loewis at users.sourceforge.net
Fri May 7 03🔞16 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib sre_compile.py,1.54,1.55
- Next message: [Python-checkins] python/dist/src/Modules sre.h,2.24,2.25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24486/Lib/test
Modified Files: test_re.py Log Message: Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848. Backported to 2.3.
Index: test_re.py
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_re.py,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** test_re.py 20 Apr 2004 21:30:07 -0000 1.48 --- test_re.py 7 May 2004 07🔞12 -0000 1.49
*** 498,501 **** --- 498,510 ---- re.compile(eval("u'bug_926075'")))
def test_bug_931848(self):
try:
unicode
except NameError:
pass
pattern = eval('u"[\u002E\u3002\uFF0E\uFF61]"')
self.assertEqual(re.compile(pattern).split("a.b.c"),
['a','b','c'])
- def run_re_tests(): from test.re_tests import benchmarks, tests, SUCCEED, FAIL, SYNTAX_ERROR
- Previous message: [Python-checkins] python/dist/src/Lib sre_compile.py,1.54,1.55
- Next message: [Python-checkins] python/dist/src/Modules sre.h,2.24,2.25
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]