]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - python/patches/00101-lib64-regex.patch
python: Update to 2.7.15
[people/stevee/ipfire-3.x.git] / python / patches / 00101-lib64-regex.patch
diff --git a/python/patches/00101-lib64-regex.patch b/python/patches/00101-lib64-regex.patch
deleted file mode 100644 (file)
index e399390..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -up Python-2.7.3/Lib/test/test_re.py.lib64-regex Python-2.7.3/Lib/test/test_re.py
---- Python-2.7.3/Lib/test/test_re.py.lib64-regex       2012-04-09 19:07:32.000000000 -0400
-+++ Python-2.7.3/Lib/test/test_re.py   2013-02-19 13:53:57.624033102 -0500
-@@ -757,6 +757,15 @@ class ReTests(unittest.TestCase):
-         self.assertRaises(TypeError, re.finditer, "a", {})
-         self.assertRaises(OverflowError, _sre.compile, "abc", 0, [long_overflow])
-+    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 tests, SUCCEED, FAIL, SYNTAX_ERROR
-     if verbose: