> ====================================================================== > ERROR: test_bug_418626 (__main__.ReTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "../lib/test/test_re.py", line 410, in test_bug_418626 > self.assertEqual(re.search('(a|b)*?c', 10000*'ab'+'cd').end(0), 20001) > File "C:\CODE\23\lib\sre.py", line 137, in search > return _compile(pattern, flags).search(string) > RuntimeError: maximum recursion limit exceeded > > ====================================================================== > ERROR: test_stack_overflow (__main__.ReTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "../lib/test/test_re.py", line 420, in test_stack_overflow > self.assertEqual(re.match('(x)*', 50000*'x').group(1), 'x') > File "C:\CODE\23\lib\sre.py", line 132, in match > return _compile(pattern, flags).match(string) > RuntimeError: maximum recursion limit exceeded > > ---------------------------------------------------------------------- > Ran 46 tests in 0.550s > > FAILED (errors=2) It looks like someone have backported the changes done in test_re.py. These tests were expected to fail with the SRE from 2.3. -- Gustavo Niemeyer http://niemeyer.net
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4