42d74be
diff -up Python-2.7.3/Lib/test/test_re.py.lib64-regex Python-2.7.3/Lib/test/test_re.py
42d74be
--- Python-2.7.3/Lib/test/test_re.py.lib64-regex	2012-04-09 19:07:32.000000000 -0400
42d74be
+++ Python-2.7.3/Lib/test/test_re.py	2013-02-19 13:53:57.624033102 -0500
42d74be
@@ -757,6 +757,15 @@ class ReTests(unittest.TestCase):
42d74be
         self.assertRaises(TypeError, re.finditer, "a", {})
42d74be
         self.assertRaises(OverflowError, _sre.compile, "abc", 0, [long_overflow])
cvsdist f79a121
 
cvsdist f79a121
+    def test_bug_931848(self):
cvsdist f79a121
+        try:
cvsdist f79a121
+            unicode
cvsdist f79a121
+        except NameError:
cvsdist f79a121
+            pass
cvsdist f79a121
+        pattern = eval('u"[\u002E\u3002\uFF0E\uFF61]"')
cvsdist f79a121
+        self.assertEqual(re.compile(pattern).split("a.b.c"),
cvsdist f79a121
+                         ['a','b','c'])
cvsdist f79a121
+
cvsdist f79a121
 def run_re_tests():
42d74be
     from test.re_tests import tests, SUCCEED, FAIL, SYNTAX_ERROR
cvsdist f79a121
     if verbose: