]>
Commit | Line | Data |
---|---|---|
7a54de68 MT |
1 | --- Python-2.3.4/Lib/test/test_re.py 2004-04-20 23:32:33.000000000 +0200 |
2 | +++ Python-2.3.4/Lib/test/test_re.py.lib64-regex 2004-05-29 17:36:52.000000000 +0200 | |
3 | @@ -497,6 +497,15 @@ | |
4 | self.assert_(re.compile('bug_926075') is not | |
5 | re.compile(eval("u'bug_926075'"))) | |
6 | ||
7 | + def test_bug_931848(self): | |
8 | + try: | |
9 | + unicode | |
10 | + except NameError: | |
11 | + pass | |
12 | + pattern = eval('u"[\u002E\u3002\uFF0E\uFF61]"') | |
13 | + self.assertEqual(re.compile(pattern).split("a.b.c"), | |
14 | + ['a','b','c']) | |
15 | + | |
16 | def run_re_tests(): | |
17 | from test.re_tests import benchmarks, tests, SUCCEED, FAIL, SYNTAX_ERROR | |
18 | if verbose: |