A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-September/009150.html below:

[Python-Dev] failure in test_sre???

[Python-Dev] failure in test_sre???Mark Favas m.favas@per.dem.csiro.au
Sun, 03 Sep 2000 08:53:11 +0800
Is it just me, or is test_sre meant to fail, following the recent
changes to _sre.c?

Short failure message:
test test_sre failed -- Writing: 'sre.match("\\x%02x" % i, chr(i)) !=
None', expected: ''

Full failure messages:
Running tests on character literals
sre.match("\x%02x" % i, chr(i)) != None FAILED
Traceback (most recent call last):
  File "test_sre.py", line 18, in test
    r = eval(expression)
ValueError: invalid \x escape
sre.match("\x%02x0" % i, chr(i)+"0") != None FAILED
Traceback (most recent call last):
  File "test_sre.py", line 18, in test
    r = eval(expression)
ValueError: invalid \x escape
sre.match("\x%02xz" % i, chr(i)+"z") != None FAILED
Traceback (most recent call last):
  File "test_sre.py", line 18, in test
    r = eval(expression)
ValueError: invalid \x escape

(the above sequence is repeated another 7 times) 

-- 
Mark



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