cpython: cc48eef234dd (original) (raw)

Mercurial > cpython

changeset 75563:cc48eef234dd 2.7

#14179: add tests for re.compile. Patch by Florian Mladitsch. [#14179]

Ezio Melotti ezio.melotti@gmail.com
date Tue, 13 Mar 2012 01:25:40 +0200
parents f0a5f39615c8
children 755a5f18ccf3
files Lib/test/test_re.py Misc/ACKS
diffstat 2 files changed, 11 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_re.py 10 Misc/ACKS 1

line wrap: on

line diff

--- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -783,6 +783,16 @@ class ReTests(unittest.TestCase): self.assertRaises(TypeError, re.finditer, "a", {}) self.assertRaises(OverflowError, _sre.compile, "abc", 0, [long_overflow])

+ def run_re_tests(): from test.re_tests import tests, SUCCEED, FAIL, SYNTAX_ERROR if verbose:

--- a/Misc/ACKS +++ b/Misc/ACKS @@ -577,6 +577,7 @@ Roman Milner Andrii V. Mishkovskyi Dustin J. Mitchell Dom Mitchell +Florian Mladitsch Doug Moen The Dragon De Monsyne Skip Montanaro